Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Number of records read
Message
From
12/09/2002 16:00:49
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Title:
Number of records read
Miscellaneous
Thread ID:
00699917
Message ID:
00699917
Views:
47
Is it possible to determine the number of returned records after a biz object requery? I know that I can use reccount() but I don't know where to put it. My current code below doesn't work. I'm wondering if I have to override the method to insert the reccount() inside the requery() method of the business object.

This code is in the Click() method of my command button.

IF Biz.Requery() = REQUERY_SUCCESS
lnMetaCount = IIF(RECCOUNT() > 1, FILE_BOF, ;
IIF(RECCOUNT() = 0, FILE_NORECORDS, FILE_ONERECORD))
ELSE
lnMetaCount=FILE_NORECORDS
ENDIF

Thanks a lot for all the help.

Nerissa
Next
Reply
Map
View

Click here to load this message in the networking platform