Michael Savage wrote on 2011-12-06: > I want to set a filter to a logical field. The field name is active. > > If the user, wants to see active records only, > I am using the following snippet. > set filter to active=.t. > > similarly if they want to see inactive records, I use > set filter to active =.f. > > When the user would like to see both sets together, > I use > set filter to. > > After each filter change I issue a > Go top > to move the record pointer. > > But what happens is this: > When I chose, both, the filter is cleared, according to the > set("filter") command, but issuing goes to the first record that is > inactive. > > Any ideas? > Mike
Michael, You'll see odd behavior such as this when the cursor is attached to a GRID object. Tracy Pearson PowerChurch Software _______________________________________________ Post Messages to: ProFox@leafe.com Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/000f01ccb463$dfc2f680$9f48e380$@powerchurch.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.