J
Jerry Crosby
I have an unbound combo box on a form. Form name: frmTest; combo box name:
cboStartDate.
I have a command button on that same form that runs a query.
I need to use the value in the cboStartDate field in that query.
How do I reference that combo box value in the query code? I've tried using
"frmTest.cboStartDate" and "Me.cboStartDate" but it still prompts me for the
value, which tells me the code isn't grabbing the value from the form.
I know I could just use a simple query prompt and have the user enter the
StartDate in that box, but I'm using a pop-up calendar to help the user
select what date to enter in the cboStartDate field (and the query prompt is
so elementary!).
Hope I've explained it well enough. If not, ask questions.
Thanks in advance.
Jerry
cboStartDate.
I have a command button on that same form that runs a query.
I need to use the value in the cboStartDate field in that query.
How do I reference that combo box value in the query code? I've tried using
"frmTest.cboStartDate" and "Me.cboStartDate" but it still prompts me for the
value, which tells me the code isn't grabbing the value from the form.
I know I could just use a simple query prompt and have the user enter the
StartDate in that box, but I'm using a pop-up calendar to help the user
select what date to enter in the cboStartDate field (and the query prompt is
so elementary!).
Hope I've explained it well enough. If not, ask questions.
Thanks in advance.
Jerry