Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How do you know if a SQL select didn't select anything?
Message
From
02/07/1999 11:11:37
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00236234
Message ID:
00236933
Views:
15
>>As for the failure possibility you mentioned, I thought I had proposed to release the array first, then dimension it (to initialize it), then try to populate it, then test it. Why wouldn't that work reliably? What step is missing?
>
>Rob,
>
>The only way ti would work is if you released the array and did NOT dimension it. If your DIME it then the first element will "L" and it will cause the no records return to falsely tell you that was a record returned.

Thanx, Jim.

I thought in my example that I tested for *both* type() $ 'U,L'... If not, I meant to. So I guess that would cover it, huh?

Appreciate your help.

Rob
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform