Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
RecordSet
Message
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Title:
Miscellaneous
Thread ID:
00595910
Message ID:
00595957
Views:
22
>Hi All:
> Is there a way using RecordSet where I can add the value of a field depending on my requirement. Like Count for cnt where cnt = 1.

You can use the Filter property of a RecordSet in this case. Assuming that oRs is an existing ADO RecordSet.
oRs.Filter = "cnt = 1"
lnCount = oRs.RecordCount
--sb--
Previous
Reply
Map
View

Click here to load this message in the networking platform