General information
Category:
Coding, syntax & commands
Title:
Passing parameters to a form to preselect a listbox element
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only