Text field to display data from column 3 of combo box

riggsd

Board Regular
Joined
Jan 29, 2003
Messages
143
I have a combo box that is linked to a parent table and it shows the index key of the parent table. I understand why it does this since that's what's in the field in the child table but users need to see something different.

Form data is pulled from tblDeliveriesReceived, linked to tblDeliverableDetails by CDRL_ID.

Combo Box

Name: CDRL_ID
Control Souce: CDRL_ID

Row Source: SELECT [tblDeliverableDetails].[CDRL_ID], [tblDeliverableDetails].[Contract_Num], [tblDeliverableDetails].[Item_Num] FROM tblDeliverableDetails ORDER BY [Contract_Num], [Item_Num];

Bound Column: 1
Column Count: 3
Column Widths: 0";1",1"

What the user sees in the CDRL_ID, but what they need to see is the Item_Num.

I'm assuming I'll need to create a text field in order to do this but I cannot figure out how to get the text field to display the Item_Num from the third column of the combo box or to pull it from the tblDeliverableDetails table, i.e., Select Item_Num from tblDeliverableDetails where CDRL_ID = CDRL_ID in combo box.

Is this possible or is there some other way to go about doing this?
 

Excel Facts

Can a formula spear through sheets?
Use =SUM(January:December!E7) to sum E7 on all of the sheets from January through December
Figured it out! Finally got it to show up after changing the second column to 0" then closing and re-opening the form. It wouldn't refresh before.
 
Upvote 0

Forum statistics

Threads
1,213,485
Messages
6,113,931
Members
448,533
Latest member
thietbibeboiwasaco

We've detected that you are using an adblocker.

We have a great community of people providing Excel help here, but the hosting costs are enormous. You can help keep this site running by allowing ads on MrExcel.com.
Allow Ads at MrExcel

Which adblocker are you using?

Disable AdBlock

Follow these easy steps to disable AdBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the icon in the browser’s toolbar.
2)Click on the "Pause on this site" option.
Go back

Disable AdBlock Plus

Follow these easy steps to disable AdBlock Plus

1)Click on the icon in the browser’s toolbar.
2)Click on the toggle to disable it for "mrexcel.com".
Go back

Disable uBlock Origin

Follow these easy steps to disable uBlock Origin

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back

Disable uBlock

Follow these easy steps to disable uBlock

1)Click on the icon in the browser’s toolbar.
2)Click on the "Power" button.
3)Click on the "Refresh" button.
Go back
Back
Top