Hi All,
I am looking to emulate the lookup that is available in a names field (ie Lookup names as character is entered) checkbox on the control tab. Is there a way that I can do this with a normal field value (text) from a view??
Any help is appreciated…
Mick
Subject: have a view lookup field value as entered
You would have to use Lotusscript, and it’s complicated. Make your field a Combobox and check the “Run Eiting/OnChange events when value changes” box. In the onChange event write Lotusscript to take the value of the combobox and lookup similar values.
what to do then I’m not sure. You could look up, say, three likely values and write them into a hiden field; use this field a the source for the combobox, then refresh the form from within your script. The use could then pick on the similar values from the combobox.
It probably wouldn’t work too well.
After you give up on that approach, try this: Leave your field a combobox but put a listbox immediately below it. In response to the user typing a key - that is, in the onchange event - update the values in a hidden field. Use this hidden field as the value list of the listbox. Check “Refresh values on document refresh” on the listbox. I use this effect all the time, it works fine.