You could use "set filter to" but this can be VERY slow if the tables are af a 
large size or the network connection isn't particularly quick.

Personally I would make the underlying cursor a "SQL Expression" which you can 
modify then requery in order to refresh the cursor but this means that you are 
dealing wit disconnected data and so updates to the displayed data need to be 
processed accordingly and are not automatic as when using a table as a 
recordsource. 

Dave

Dave

-----Original Message-----
From: ProFox [mailto:[email protected]] On Behalf Of Alan Bourke
Sent: 24 October 2013 14:24
To: [email protected]
Subject: Grid visible set.

So I have a grid with a cursor behind it. The active index on the cursor can be 
changed by the user, thus sorting the grid in different ways. 

Is there any easy way of determine the subset of records visible in the grid at 
any given time?


--
  Alan Bourke
  alanpbourke (at) fastmail (dot) fm

[excessive quoting removed by server]

_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/[email protected]
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to