O
oldblindpew
I have a report that uses a query for record source, so in my report
procedure I can simply reference the fields by name.
However, one important value is from a calculated text box. I need to use
this value in selecting records for the report, but I don't know how to
reference it from within my procedure. If I had stored it in the table as a
field (e.g. tStatus), I could just reference it by name:
' String for Where Conditions, where Status is in a list of selected values.
Dim strWhereStatusIn As String
strWhereStatusIn = " and tStatus in ("
Instead, I have a text box called txtStatus whose value is calculated via a
public function, with arguments, so the control source for the text box is
like:
= MyFunction([dateArgument])
How can I get my report procedure to know the value of the txtStatus text box?
Thanks,
OldBlindPew
procedure I can simply reference the fields by name.
However, one important value is from a calculated text box. I need to use
this value in selecting records for the report, but I don't know how to
reference it from within my procedure. If I had stored it in the table as a
field (e.g. tStatus), I could just reference it by name:
' String for Where Conditions, where Status is in a list of selected values.
Dim strWhereStatusIn As String
strWhereStatusIn = " and tStatus in ("
Instead, I have a text box called txtStatus whose value is calculated via a
public function, with arguments, so the control source for the text box is
like:
= MyFunction([dateArgument])
How can I get my report procedure to know the value of the txtStatus text box?
Thanks,
OldBlindPew