Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Puzzled
Message
From
19/07/2005 09:02:51
Carmen Gassi
Perseus Software Systems
Oakville, Ontario, Canada
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Puzzled
Environment versions
Visual FoxPro:
VFP 8
OS:
Windows XP
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01033799
Message ID:
01033799
Views:
59
To All
I have either forgotten or never new quite how to accomplish the following in an elegant way. I inherited a VFP application involving the confirmation of customer data at point of sale. One of the fields in the customer table is the city. There is a listbox control activated when the user comes to the city field. The listbox is populated from a cities table ordered by city name. I would like the current city to be selected in the listbox but can't seem to get that to happen. The city selection is done in a form launched by the parent form. I have sent the current city assigned to the customer table. When the cities form is launched and the listbox is activated the current city is searched so I know the record pointer in the table is at the correct value, I just can't seem to highlight that record in the listbox. Thanks in advance if you have had the patience to read through this.

Regards,
Carmen
Next
Reply
Map
View

Click here to load this message in the networking platform