Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to tell when Set Filter returns no records
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00097082
Message ID:
00097093
Views:
18
>>I'm using a query which uses the set filter to command. Good so far. But when the result of the set filter is no records, I need to be able to test for that, so I can take some action (message or otherwise). I see that RECC() doesn't respect the Set Filter to command. Can anyone tell me what does?
>>
>>Thanks!
>>
>>Sylvia
>go top
>if eof() && if .t. no records

My understanding is that locate is faster than go top. Now in this case it maybe unmeasurable difference but it is still a good habit to get into.

HTH
Jeff

It's Time to get a gun.

That's what I've been thinkin.

I think I can afford one, If I do a little less Drinkin.

www.TrueGeeks.com
Previous
Reply
Map
View

Click here to load this message in the networking platform