combo box and bound column

DevAccess

Registered User.
Local time
Today, 09:06
Joined
Jun 27, 2016
Messages
321
Hello

I have combo box with following table as bound as row source and columns

ID --> CustomerName--> CustomerID --> VendorName --> Invoice Number

So in control property I set column count =4 and column width = 0";2";2";2";2" and bound column =2 as I want to store CustomerID when I save recrod.

The combobox suppose to store customer ID while we save record as it is bound to column CustomerID of the form query.

Now when i create new record and save it saves as CustomerName as it is first column of the field.

But I want to store value as CustomerID even though they select customerName from combobox.

Please assist me what is missing.
 
column count = 5 as the property is 0 based.
i dont think the bound column is 0 based so it should be the actual count
 
you have 5 columns, so invoice number will not be in your combo

if you want to store the customerID then bound column should be 3
 

Users who are viewing this thread

Back
Top Bottom