augusto.pellis Posted April 7, 2020 Share Posted April 7, 2020 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 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 7, 2020 Share Posted April 7, 2020 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? Quote Link to comment Share on other sites More sharing options...
augusto.pellis Posted April 7, 2020 Author Share Posted April 7, 2020 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 Quote Link to comment Share on other sites More sharing options...
Sherzod Posted April 7, 2020 Share Posted April 7, 2020 Please analyze the related demos again. 1 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.