Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
ListBox: Setting Single Record as Value on Init
Message
 
To
09/10/2005 11:10:09
Lynn Bleck
Cents-Able Business Systems
Concord, Ohio, United States
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01057533
Message ID:
01057534
Views:
10
>I am using the form designer and I know that there must be a way to default to a single record in a list box, but I am having difficulty figuring it out. I want the value of the list box to default to a preselected record. I am using a table as the rowsource and fields as rowsource type. I am using seek to goto the default record, but I cannot find a way to return the value of the record within the list. Thanks in advance.
thisform.List1.Value = MyTable.Field 
?
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform