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
Divers
Thread ID:
00637912
Message ID:
00638455
Vues:
25
Serge,

>*------------------------------------------------------------
>*-- 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.

Thanks for finding this one...I'll change it to the following (and give you credit in the next version of the "What's New" Guide:
IF INLIST(lnRetVal, FILE_OK, FILE_EOF, FILE_LAST)
Thanks,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform