Skip to Content
0
Former Member
Jul 01, 2009 at 08:22 PM

A data-binding issue with a combo box.

25 Views

Hi,

Iu2019m having a data-binding issue with a combo box. The field it is bound to is an integer. The valid values in the combo box are 1, 2, and 3. If I add a record when it is set to 1 or 2, the value gets stored correctly. If I add a record when it is set to 3, it is stored as 1. However, I can bring up the record just added on the form, change it to 3, and click u201CUpdateu201D and it is saved correctly as 3. If I change it so that the valid values are 4, 5, and 6, it saves a 1 regardless of what is selected in the combo box. It looks like the combo box is correctly bound for updates but not for adds. The table is a master type UDO. Any ideas? Iu2019m somewhat committed to the field being an integer. I'm using 2007A PL47.

Thanks,

Mike

Edited by: Mike Angelastro on Jul 1, 2009 2:43 PM