Re: Database key wildcard search
- Posted by Kat <gertie at PELL.NET> Dec 18, 2001
- 561 views
On 18 Dec 2001, at 16:13, void wrote: > > Is it possible to search a record with a partial key (key with > wildcards). > > now we have: > rec = db_find_key("find_this_key") > > a function like this would be very useful: > rec = db_find_key_wildc("find_th?s_???") > > It should be possible to build such a function, but key_pointer > structure is a bit too complicated for me, can someone offer some help? > > (I think an integer 'starting_rec' is needed to do multiple searches: > rec = db_find_key_wildc("find_th?s_???", starting_rec) Better add a how_many_to_return also, so it can stop searching, and not return 1000's of matches! And a way to find "find*_th*". Kat