I've created a form [JobTrans] with a subform [JobTransDetail] to record transactions. The linked field is [Reference]. I'm trying to add a button that runs a report based on the current record on the form including items from subform. I designed a report "JobTrans-Ref" based on a query with a parameter [Reference ?] in the [JobTrans]![Reference] field.
When I run the report I get the standard Access parameter dialog box and the report runs just fine after typing (or copy & paste)in the [Reference ?].
How do I get the [Reference] that is on the current form to pass to the query parameter.
Thanks
When I run the report I get the standard Access parameter dialog box and the report runs just fine after typing (or copy & paste)in the [Reference ?].
How do I get the [Reference] that is on the current form to pass to the query parameter.
Thanks