Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
One-to-Many Grid on Form
Message
 
To
21/07/1998 06:35:15
Chiang Jeffrey
Paramoun Air Sea Svcs P/L
Singapore, Singapore
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00119579
Message ID:
00119911
Views:
17
Jeff,
Jess Banaga gave you the syntax correctly (watch the hierarachy if your grid is in a pageframe).

If your code for choosing records is in the Combo Box VALID event, then add the refresh there. If both the combo box and the grid are sitting on the same parent (a page or a form) then the code would be: THIS.Parent.MyGrid.Refresh()
(Use the correct grid name, of course).

Be sure that the parent table is set to the correct record pointer (if you're using grid properties to show the child records) or that your view is requeried (if you are using a parameterized view) before the grid is refreshed.

HTH
Barbara

>Hi Barbara,
>How do i add the Grid refresh,...Do I add it in the combo box event or the grid's refresh event?...I am pretty new to this OOP thing used to do Foxpro on DOS...
Barbara Paltiel, Paltiel Inc.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform