Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Child Grid show none records after adding a new record
Message
From
27/10/1997 12:52:30
 
 
To
27/10/1997 12:36:26
Jim Si
Alberta Research Council
Calgary, Alberta, Canada
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00056816
Message ID:
00056834
Views:
26
>>after the data is updated, requery the grid's datasource (if it is a view) and explicitly reset that recordsource:
>>
>>requery('myview')
>>thisform.mygrid1.recordsource = 'myview')
>>thisform.refresh
>
>Thank you for replying.
>
>I did not use a view. The REQUERY function does not work for the native database tables. What else I can do?
>
>Jim S

did you explicitly reset the datasource?

(thisform.mygrid1.recordsource = 'mytable')

often (especially when the grid resides on a pageframe and the page becomes temporarily deactivated), the grid forgets its datasource, and must reminded.
Erik Moore
Clientelligence
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform