Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Passing parameters to a form to preselect a listbox element
Message
From
14/06/1997 15:27:30
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Passing parameters to a form to preselect a listbox element
Miscellaneous
Thread ID:
00036384
Message ID:
00036384
Views:
67
I have a form containing 3 listboxes.

These listboxes are populated by arrays (laBorders[n,2],laOperations[n,2] and laTerritories[n,2]) created with a SQL-SELECT statement in the form's INIT method.

The arrays contain 2 elements - State Code and State Name.

How do I pass a state code to the form, find that state code in one of the three arrays and have that state code & it's state name be the default when the form appears?

I'm new to Visual FoxPro 3 and 5; so, any and all help would be greatly appreciated :)

Dan Rhymes
Next
Reply
Map
View

Click here to load this message in the networking platform