Trying to do an incremental search.
Created cursor adapter that contains a cursor with insurance adjuster full names in 'adjuster' field (John Doe, Jane Doe, etc).
My select command is:"select distinct ins_info.adjuster from ins_info".
Also after cursor is created I create an index: INDEX ON UPPER(adjuster) TAG adjuster
In the Interactivechange event of the textbox I use, I put:
SELECT(this.LookupAliasName)
set near on
SEEK alltrim(this.TypedInValue)
if FOUND()
*do some processing
endif
set near off
*****
How come no matter what I type Found() returns false? Everytimes I type a letter the pointer moves to the closest matching record. But Found() never returns True.
What gives?
Thanks
Created cursor adapter that contains a cursor with insurance adjuster full names in 'adjuster' field (John Doe, Jane Doe, etc).
My select command is:"select distinct ins_info.adjuster from ins_info".
Also after cursor is created I create an index: INDEX ON UPPER(adjuster) TAG adjuster
In the Interactivechange event of the textbox I use, I put:
SELECT(this.LookupAliasName)
set near on
SEEK alltrim(this.TypedInValue)
if FOUND()
*do some processing
endif
set near off
*****
How come no matter what I type Found() returns false? Everytimes I type a letter the pointer moves to the closest matching record. But Found() never returns True.
What gives?
Thanks