Listbox and unselected DBF

Listbox and unselected DBF

Postby reds » Wed Apr 18, 2018 1:04 pm

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
reds
 
Posts: 50
Joined: Tue May 16, 2017 12:19 pm
Location: North London

Re: Listbox and unselected DBF

Postby Antonio Linares » Wed Apr 18, 2018 4:16 pm

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
User avatar
Antonio Linares
Site Admin
 
Posts: 41314
Joined: Thu Oct 06, 2005 5:47 pm
Location: Spain

Re: Listbox and unselected DBF

Postby reds » Wed Apr 18, 2018 4:17 pm

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

Postby reds » Wed Apr 18, 2018 4:21 pm

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

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


Return to FiveWin for Pocket PC

Who is online

Users browsing this forum: No registered users and 16 guests