FiveTech Support Forums

FiveWin / Harbour / xBase community
Board index FiveWin for Pocket PC Listbox and unselected DBF
Posts: 50
Joined: Tue May 16, 2017 12:19 PM
Listbox and unselected DBF
Posted: Wed Apr 18, 2018 01: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

Posts: 44158
Joined: Thu Oct 06, 2005 05:47 PM
Re: Listbox and unselected DBF
Posted: Wed Apr 18, 2018 04: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
Posts: 50
Joined: Tue May 16, 2017 12:19 PM
Re: Listbox and unselected DBF
Posted: Wed Apr 18, 2018 04:17 PM

Found the ALIAS option,so now sorted :)

Posts: 50
Joined: Tue May 16, 2017 12:19 PM
Re: Listbox and unselected DBF
Posted: Wed Apr 18, 2018 04:21 PM

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

Peter

Continue the discussion