Page 1 of 1

TEXTBOX Type and Search (RDMLX)

Posted: Tue May 31, 2016 7:26 pm
by MarcusLancaster
Hi all.

I'm trying to create an offline form where I create an order line (product code, quantity, etc). In this particular situation I would ideally like the user to be able to enter some text in the product field and have the form immediately present a list of matching products (from a local SQLLite table) based on what they have entered, without having to lose focus on the field or press a search button. If the user continues to type text, the search results are refined. Eventually the user would select one of the results.

The problem I have is that the ONVALUECHANGE event for a TEXTBOX only seems to fire when I lose focus on the textbox - I was hoping it would fire as the text was changed.

Has anybody done anything like this in offline LR? Maybe there's an alternative approach (or undocumented feature) which will give me what I want?

Cheers for now.

Marcus.

Re: TEXTBOX Type and Search (RDMLX)

Posted: Wed Jun 01, 2016 12:29 pm
by tsupartono
Hi Marcus,
Unfortunately it's currently not possible to do that in LongRange.

Re: TEXTBOX Type and Search (RDMLX)

Posted: Tue Jul 05, 2016 2:18 pm
by tsupartono
This feature has been implemented in RV22 (released).

Re: TEXTBOX Type and Search (RDMLX)

Posted: Tue Jul 05, 2016 7:13 pm
by MarcusLancaster
Thanks for the update on this.

Tried it out in my offline app and it works really well - very fast searching, even with a reasonably large set of data (1000-ish records)

Many thanks for including it.

Cheers!