Listbox and unselected DBF

Post Reply
reds
Posts: 50
Joined: Tue May 16, 2017 12:19 pm
Location: North London

Listbox and unselected DBF

Post by reds »

Trying to use Listbox with a non current work area,prefacing field names with dbf name and -> alias operator
However it just repeats the first record but it works fine as soon as I make it the current work area.

Tried it on the sample program TestBrws and got same result when customer.dbf was no longer current work area

TIA
Peter
User avatar
Antonio Linares
Site Admin
Posts: 37481
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain
Contact:

Re: Listbox and unselected DBF

Post by Antonio Linares »

Peter,

Try it again using the ALIAS clause:

@ ..., ... LISTBOX ... FIELDS ... ALIAS ...

so it knows what alias to use
regards, saludos

Antonio Linares
www.fivetechsoft.com
reds
Posts: 50
Joined: Tue May 16, 2017 12:19 pm
Location: North London

Re: Listbox and unselected DBF

Post by reds »

Found the ALIAS option,so now sorted :)
reds
Posts: 50
Joined: Tue May 16, 2017 12:19 pm
Location: North London

Re: Listbox and unselected DBF

Post by reds »

Yes thanks Antonio,I was just looking in the FWCE.CH file

Peter
Post Reply