Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Control Source
Message
From
09/07/1999 15:14:20
 
 
To
09/07/1999 15:08:19
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
Miscellaneous
Thread ID:
00239598
Message ID:
00239603
Views:
12
>I have 10 tables with the same structure and don't know which one will be used until the user make some choices. In the control source I have designated the source A.info where A is determined by a couple inputs by the user and info is a field.
>
>Problem: Since A is not known when loading form, I have to designated a default table for the form to get foxpro to accept the A as an alias. When the form comes up on the screen, the first record is automatically brought into view for all the fields.
>
>Question: Is there an easy way to not have the fields show up until the user makes a selection as to which record they wish to view??
>
>Thanks
>
>Todd

I would force the user to make a choice to determine which table to use before showing them the data container ( whatever you're using, a grid maybe? ). You could do this several ways, making the conatiner not visible, then setting attributes ( ControlSource, etc. ) programmatically before showing it, use a page frame, etc.

Bill
William A. Caton III
Software Engineer
MAXIMUS
Atlanta, Ga.
Previous
Reply
Map
View

Click here to load this message in the networking platform