Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Limit viewed records in curs without losing original cur
Message
From
20/10/2001 01:55:55
 
 
To
20/10/2001 00:28:53
Peter Brama
West Pointe Enterprises
Detroit, Michigan, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00571259
Message ID:
00571269
Views:
33
>I have a cursor I use through out an app. At times, I would like to narrow the rows displayed (in my grid) to records in the cursor that meet a specific qualification and ideally, I don't want to lose the original rows in the cursor (due to some recno() references etc)... just not see them. Is there a way to do that without reselecting the cursor?

If you have the cursor in the data environment of the form, you can filter the cursor using the Filter property:
Thisform.DataEnvironment.myAlias.Filter = "myFilterExpression"
Although I'm not sure what you mean about the recno() references.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform