Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Reccount bug?
Message
From
22/11/2000 10:32:59
 
 
To
22/11/2000 10:26:39
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Miscellaneous
Thread ID:
00444616
Message ID:
00444620
Views:
17
>*****Rerun the Query -- Should return 0 records*****
>SELECT * FROM test ;
> INTO CURSOR temp ;
> WHERE trn_type = 'ORD' and not deleted()
>****************************************************
>
>messagebox("RECCOUNT = " + alltrim(str(RECCOUNT())))
>
>*****WHY????****************************************

This is producing the query as a filter on the test table.
Look at the status bar message or DBF() result.
In this case, the RECCOUNT() is against the test table, so it is correct in saying 1.
Insanity: Doing the same thing over and over and expecting different results.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform