Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Making pick list with a grid
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00019829
Message ID:
00019956
Views:
40
>Hi,
>many screens in my app require looking up data. I have
>a Find button that spawns another form. On the Lookup
>form, I'd like to put in some partial data. The form should have a Textbox, a Grid, and an OK button. If I want "Roosevelt", I'd type "Roos" in the textbox and click OK. The grid would respond with all records starting with "Roos" (there may be dozens). I would scroll to the record I want and double-click on it.
>The double-clicking would leave the table's record pointer on that record and release the Lookup form.
>The Find button would then refresh the original form.

You can also use a "lookup" container with a grid and other controls (probably saved as class)in the same form and make it visible/invisible when necessary, rather than launch another form for a pick list.
Just a thought.

Nick
Nick Neklioudov
Universal Thread Consultant
3 times Microsoft MVP - Visual FoxPro

"I have not failed. I've just found 10,000 ways that don't work." - Thomas Edison
Previous
Reply
Map
View

Click here to load this message in the networking platform