Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
BizObj Requery( )
Message
From
20/06/2000 12:10:12
Gerald McKinsey
Keystone Consulting Services, Inc.
Yorktown, Indiana, United States
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
BizObj Requery( )
Miscellaneous
Thread ID:
00382236
Message ID:
00382236
Views:
50
We are having some problems with Grids refreshing correctly. It seems to be happening when we make more than one record at a time at the EditForm level. (In one case, it's using the KMover, in the other, it's our own mass-record creation method).

If we exit the Edit form, and go straight back into the Edit form, the grid is still empty. However if we exit the Edit form & The CallingGrid Form, (and go back in) the grid shows everything. We've also verified that these records are being created at the table level.

To narrow down our problem, we added temporary code that Requeries the Business Object in question & Refresh the code. But it doesn't do the job. So what happens in the INIT() requeries, that doesn't happen when I just requery the Business Object?

For instance, When I do MyBizObj.Requery(), doesn't that requery the View? It refreshes the grid in the PostInitHook() but it's as if the View has old data, and isn't rechecking the table(s).

Dustin
Reply
Map
View

Click here to load this message in the networking platform