Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
One-to-Many Grid on Form
Message
From
23/07/1998 01:19:29
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:
00120318
Views:
17
Barbara,
Found out what happended and it works now,....thanks....reason that it didn't work in the first place was that both the parent & child table for invoice numbers has different char widths.

Jeff
>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...
Previous
Reply
Map
View

Click here to load this message in the networking platform