Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
KBizObj.Next() does not check for FILE_LAST
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00637912
Message ID:
00638455
Views:
26
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
Previous
Reply
Map
View

Click here to load this message in the networking platform