Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
KBizObj.Next() does not check for FILE_LAST
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
KBizObj.Next() does not check for FILE_LAST
Divers
Thread ID:
00637912
Message ID:
00637912
Vues:
52
Here is the code that requeries children objects in KBizObj.Next()

*------------------------------------------------------------
*-- Requery the child business objects' to keep them in sync.
*------------------------------------------------------------
IF INLIST(lnRetVal, FILE_OK, FILE_EOF)
This.RequeryChildren()
ENDIF

It is missing one of the valid values of lnRetVal - FILE_LAST, so it does not requiry children when pointer goes to the last record.
Serge Matsevilo, Seattle, WA, USA
Senior Programmer/Analyst,
iServ Systems, Inc.
e-mail: smatsevilo@iservsystems.com
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform