Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Grid refresh when form is opened
Message
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00947702
Message ID:
00947735
Views:
11
Larry,

What is the RecordSource for that grid? The simplest way would be to use p-view and define parameter in form's Init.

>Another problem..
>
>I bring up a form with a grid. The grid displays the "many" records linked to a record in a "one" record table. I have a command button that takes me to another window to select the "one" record. Once selected, the grid displays the "many" records linked to this record. I also display the "one" data but not in the grid. Operationally it works fine. However, when the form is first opened, it displays all of the records in the "many" table, while displaying the data for the first record in the "one" table. Although the form works OK, it is disconcerting to see all of the "many" records when first opened. Is there any way to make it only display only the "many" records associated with the first record when the form is first displayed. I tried to set it to the top of the "one" table in the "init" event, but that had no effect.
If it's not broken, fix it until it is.


My Blog
Previous
Reply
Map
View

Click here to load this message in the networking platform