Sorry Mike, it is better to use filter() instead of set("FILTER") because the latter trows Error 18 - Line is too long if the filter expression is long more than 255 characters.
Gianni On Tue, 09 May 2017 01:00:35 +0200, Gianni Turri <gianni...@gmail.com> wrote: Hi Mike, I'm doing in this way: if ! eval(set("FILTER")) locate rest endif Gianni On Mon, 08 May 2017 16:39:21 -0400, mbsoftwaresoluti...@mbsoftwaresolutions.com wrote: VFP9SP2 After applying a filter to a grid cursor, I want to know if the current record pointer (not moved since the filter applied) is on a record that is affected by the filter? That is, if the record pointer is on a record that is no longer visible due to the filter, I want to reset the pointer to the first record in the cursor, or perhaps the previous or next record that IS showing yet even after the filter applied. My testing shows that my current record pointer does not move after the filter applied (as expected) and EOF('myCursor') is .F. (which is technically true, since it's on a valid record, although it's being filtered out). Ideas? tia! --Mike _______________________________________________ Post Messages to: ProFox@leafe.com 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/o732hclsd37jb92m2sohb3aiep503mr...@4ax.com ** 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.