Hi Nerissa,
here's some additional information ... if you only need the information you're trying to get in your code snippet, here is a ready-to-use BizObj method:
So I made it a little complicated in my first answer, since I followed more the title of thread than the message body. But if you once want to know the number of records, you can consider doing what I wrote there :)
Armin
>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