Jump to content

Recommended Posts

Posted

Hi everybody, sorry but I'm lost wit this issue and I cannot figure out how to solve, so please give me advice if possible.

I've been using a TUniDBLookupComboBox tied to an integer DataField so I set UniDBComboBox mode to umNameValue. As expected at first tries, the value passed to database was the index of the item chosen in the combobox. After something I did (there's no code involved at all, just components on a container) the combobox raises an error when setting fields value 'xxxxxxxxx is not a valid integer value for field xxx' behaving just like mode was set to umNameOnly.

What did I do wrong?

Thanks for your help

Posted
7 minutes ago, augusto.pellis said:

Hi everybody, sorry but I'm lost wit this issue and I cannot figure out how to solve, so please give me advice if possible.

I've been using a TUniDBLookupComboBox tied to an integer DataField so I set UniDBComboBox mode to umNameValue. As expected at first tries, the value passed to database was the index of the item chosen in the combobox. After something I did (there's no code involved at all, just components on a container) the combobox raises an error when setting fields value 'xxxxxxxxx is not a valid integer value for field xxx' behaving just like mode was set to umNameOnly.

What did I do wrong?

Hello,

Sorry, how can we reproduce this issue?

Posted

I understand that. And nor I can extract a small example with the database etc.

I hoped there was something so stupid I was missing that someone would have spotted it immediately.

I will use a groupbox, then.

 

Thank you anyway

Augusto

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...