This must be a bug. I can see the display values and return the values with a combox, if I make it a Type Ahead, I can see the dipay values, but the return values are not inserted when selected.
Has to be something invoving find mode and type ahead lists.
Thanks,
Erich
Servoy Developer
Version R2 2.2-build 328
Java version 1.4.2_04-b05 (Windows XP)
I have downloaded the new version and am still having the same problem. If the field is a type ahead, when I select the account, the field is reset to 0 (int default).
If I use as a combobox, everything works fine.
Erich
Servoy Developer
Version R2 2.2-build 328
Java version 1.4.2_04-b05 (Windows XP)
Long shot but could this problem be related to the requirement to ‘double-click’ a type-ahead field (or use arrow keys & ) - but only needing a single-click to select from a Combo-box ??
ebrandt:
If the field is a type ahead, when I select the account, the field is reset to 0 (int default).
If I use as a combobox, everything works fine.
This problem is still there…
Specially in FormInDialogs, TypeaHead is not workable. User has to type the whole line to get the right data returned.
Servoy Developer
Version R2 2.2.1rc3-build 332
Java version 1.5.0_02-36 (Mac OS X)
Yes the TypeAhead is working in a Form-in-Dialog - sorry not able to test on a Mac at moment.
It’s some time since I built this solution and not quite as straightfoward as I remembered. Have attached screenshot of part of a Quotation system - this is one of three Tab panels on a Form in Dialog based on a Product_Transactions table.
clicking on [Customer] button or in the REL_cm_name field triggers a Method that does a requestFocus on the TypeAhead field <zr_cm_cust_sn> - small field with FG/BG same colour
<zr_cm_cust_sn> is the FK pointing to Customers database
the ValueList displays Customer Names and onDataChange stores the Customer_ID in <zr_cm_cust_sn>. The REL_cm_name field just displays the Name through a relationship using <zr_cm_cust_sn>.
Can’t remember why I built it this way - maybe too much coffee that day
Have explained in some detail in case this will help you find a (schh whisper the word) ‘workaround’.
I basically have a simple relationship based value list that returns a Customer ID Number (Int). I have enclosed a screen shot, As you can see I have both a combo list and a type ahead, both lists work fine, but when selecting the account in the type ahead, nothing is returned.