Passing combo box value to report (1 Viewer)

wgma

Registered User.
Local time
Today, 08:07
Joined
Nov 19, 2007
Messages
72
I am creating a report that gets some of its data from a form. One of the items that I need from the form is the text contained in a combo box. All I need is the text that is displayed in the combo box.

I have tried some different things but just get errors. I have searched this forum but have not found any help.

I am sure that this is very simple but can someone tell me how to pass/retrieve the text from a combo box?

Thanks.
 
R

Rich

Guest
An unbound textbox with the control source set to=Forms!YourFormName!Its comboName keep the form open while the Report is loading
 

wgma

Registered User.
Local time
Today, 08:07
Joined
Nov 19, 2007
Messages
72
Thanks for responding. I have it set to that but I am getting is the record ID. I need the text that is displayed in the combo box.
 

midmented

DP Programmer
Local time
Today, 09:07
Joined
Jun 5, 2008
Messages
94
You must have more than 1 column in your combo box.

Try using:
Forms!YourForm!ComboBox.Column(1)
(Whatever column the data is in 0, 1, 2, etc.)
 

midmented

DP Programmer
Local time
Today, 09:07
Joined
Jun 5, 2008
Messages
94
You're welcome

If someone has helped you, please add to their reputation
by clicking on the icon above that looks like the scales.

Thanks :)
 

wgma

Registered User.
Local time
Today, 08:07
Joined
Nov 19, 2007
Messages
72
Sorry, I did not know abut that.
 

Users who are viewing this thread

Top Bottom