Tomas - DATANOVA Posted January 22, 2021 Share Posted January 22, 2021 Hello everyone, we have practical problem with this mobile component. we have placed UnimDBSelect on form. it is filled with autoadd from selected datasource(sure, we have some while to autoadd work properly, or we fill it in while manually with item.add function). When user on client side selects item from unimdbselect we need to know ID of that record. Now we compound selection data with primary ID, for example: Madrid#15203 New York#1654 but it is visible by user and we need to parse it. how to get desired ID without this? some possibility to get selected record ID directly ? Link to comment Share on other sites More sharing options...
frios Posted January 22, 2021 Share Posted January 22, 2021 If the name of city is unique you can use a locate for table. or use a DBLookupComboBox Link to comment Share on other sites More sharing options...
Tomas - DATANOVA Posted January 22, 2021 Author Share Posted January 22, 2021 Sure, locate is possible, but it is not comfortable, cause we need additional code and sometimes source data has more keys to locate appropriate row. For example if You have 2 workers with same name, but birth year is different, so for locate You need to parse selected item for name and year and then cast locate. Yes, we need funcionality similar to DBLookupcombobox, where i can get record fields using listsource. But Unigui Mobile does not have this component available. I think that UnimDBSelect has this feature, but dont know how to use that. Link to comment Share on other sites More sharing options...
frios Posted January 22, 2021 Share Posted January 22, 2021 Link to comment Share on other sites More sharing options...
Tomas - DATANOVA Posted January 22, 2021 Author Share Posted January 22, 2021 maybe it is in newer version of unigui, we dont have this component available in our version, thank You for help, this solves our problem. Link to comment Share on other sites More sharing options...
Sherzod Posted January 22, 2021 Share Posted January 22, 2021 2 minutes ago, Tomas - DATANOVA said: maybe it is in newer version of unigui, we dont have this component available in our version, thank You for help, this solves our problem. Hello, Which build of UniGUI are you using? Link to comment Share on other sites More sharing options...
Tomas - DATANOVA Posted January 22, 2021 Author Share Posted January 22, 2021 Currently we use build: 1.90.1515 Link to comment Share on other sites More sharing options...
Tomas - DATANOVA Posted January 25, 2021 Author Share Posted January 25, 2021 in latest build, dblookupcombobox is present. Thank You for brainstroming. i didnt knew, that component is available, wonderful. Link to comment Share on other sites More sharing options...
Recommended Posts