Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Filtering count without cursor
Message
From
05/02/2009 08:29:49
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Filtering count without cursor
Miscellaneous
Thread ID:
01379421
Message ID:
01379421
Views:
66
Hi all,
Can I run query and to retrive the rows count without cursor, or I must as following:
local itotal
select distinct id from mytable;
	where between(mytable.id,1583,1927);
	and mytable.state=='NY' into cursor mycursor nofilter
itotal=reccount('mycursor')
myform.txt1.value=transform(itotal)
use in mycursor
Thank you
Chaim
Next
Reply
Map
View

Click here to load this message in the networking platform