Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BizObj Requery( )
Message
De
20/06/2000 12:10:12
Gerald McKinsey
Keystone Consulting Services, Inc.
Yorktown, Indiana, États-Unis
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
BizObj Requery( )
Divers
Thread ID:
00382236
Message ID:
00382236
Vues:
51
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
Répondre
Fil
Voir

Click here to load this message in the networking platform