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
_______________________________________________
Post Messages to: [email protected]
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/[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.