Hi, I would appreciate a little guidance on the following:
I have a form with a number of fields including ID and Report_number.
I have 4 Reports named 1,2,3 and 4, each report uses some or all the form fields and the forms Report_number specifies which report to print that record on.
I have set the On Dbl Click property on the ID field to open a report for the record in focus but I could do with some help on opening the correct report as specified in the Report_number field.
So far I have
DoCmd.OpenReport "1", acViewPreview, , "[ID] = " & Me!ID
Many thanks
I have a form with a number of fields including ID and Report_number.
I have 4 Reports named 1,2,3 and 4, each report uses some or all the form fields and the forms Report_number specifies which report to print that record on.
I have set the On Dbl Click property on the ID field to open a report for the record in focus but I could do with some help on opening the correct report as specified in the Report_number field.
So far I have
DoCmd.OpenReport "1", acViewPreview, , "[ID] = " & Me!ID
Many thanks