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
Title:
KBizObj.Next() does not check for FILE_LAST
Miscellaneous
Thread ID:
00637912
Message ID:
00637912
Views:
53
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
Next
Reply
Map
View

Click here to load this message in the networking platform