Subject: | Re: Something like DropList
| Date: | Mon, 17 Jun 2019 13:09:26 +0200
| From: | modridirkac <jure.zorko@gmail.com>
| Newsgroups: | pnews.paradox-programming
|
Thanx both, but your examples use SetFilter, which means, it only displays
records, which have searched string at begining of text.
I want to show to user all lines, that contain
typed text anywhere in the string.
For now I have this:
When user does ctrl+space on a field, I do:
* create temp table on PRIV with all records from "lookup" table
(this table has 5 columns and max 1000 records)
* add another column "show" with default "yes"
* display "lookup" form, on which there is a table frame with
that :PRIV:lookup table, filter on Show="yes"
* also there is an undefined edit field for user to type in
* when user presses a key in search field, I do a scan on table,
and change to "no" all records, that do not contain ( match(".."+s+"..")
what I want.
Thx for your posts!
Jure
|