Home > Back-end >  DBLookupComboBox display problems
DBLookupComboBox display problems

Time:10-10

A DBLookupComboBox, according to customer information, including customer ID, customer name,
But sometimes the customer information is more, so I want to add a button, click select in the new form the customer, after the original form of DBLookupComboBox will display the corresponding value of the selected,
The problem is, it seems that DBLookupComboBox only drop-down choice after change the value of the displayed text is read-only, I chose the value cannot reflect in the new form to DBLookupComboBox,
Description
Or am I the wrong direction, use the combobox, assignment text, this combobox shows two columns, seemed very difficult,

CodePudding user response:

Help!

CodePudding user response:

DBLookupComboBox is binding and field. It will display the contents of the current record by its DataSource binding field. If you want to change, according to the parent window will be manually moving the corresponding record pointer. MoveBy (n)

CodePudding user response:

The
refer to the original poster xjh_1989 response:
a DBLookupComboBox, according to the customer information, including customer ID, customer name,
But sometimes the customer information is more, so I want to add a button, click select in the new form the customer, after the original form of DBLookupComboBox will display the corresponding value of the selected,
The problem is, it seems that DBLookupComboBox only drop-down choice after change the value of the displayed text is read-only, I chose the value cannot reflect in the new form to DBLookupComboBox,
Description
Or am I the wrong direction, use the combobox, assignment text, this combobox shows two columns, like hard,


The results of the query window, pointing to the DBLookupComboBox record

CodePudding user response:

Pay value to a field directly, and don't give DBLookupComboBox pay value,

CodePudding user response:

I met the same problem with you, the way you look at me ok
http://bbs.csdn.net/topics/390599494
But I feel a little waste of time

CodePudding user response:

There is no answer, all to you,

CodePudding user response:

Binding the corresponding DataSource, OK,
  • Related