Page 1 of 1

Listbox and unselected DBF

PostPosted: Wed Apr 18, 2018 1:04 pm
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

Re: Listbox and unselected DBF

PostPosted: Wed Apr 18, 2018 4:16 pm
by Antonio Linares
Peter,

Try it again using the ALIAS clause:

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

so it knows what alias to use

Re: Listbox and unselected DBF

PostPosted: Wed Apr 18, 2018 4:17 pm
by reds
Found the ALIAS option,so now sorted :)

Re: Listbox and unselected DBF

PostPosted: Wed Apr 18, 2018 4:21 pm
by reds
Yes thanks Antonio,I was just looking in the FWCE.CH file

Peter