T
Tommy T
Hello everyone,
I currently have 2 Unbound Query-by-Forms that are opened from 2 buttons,
respectively, on a master form. The Query-by-Form prompts the user for a
StartDate and an EndDate with the addition of a button to open its
respective report and a close button. The Query-by-Forms are almost
identical except for the Caption and the report that each opens.
I would like to use only one Query-by-Form and pass parameters from the
master form's button through the Query-by-Form to the Report. If I can use
naming conventions based on the Tag or a portion of the name of the button
all the way to report I could do that right? But How?
MasterForm:
cmdBtnOpenAuthorizationReportVIAfrmEnterDates1ForAuthorizationReport --->
frmEnterDates1ForAuthorizationReport: Caption = "Authorization Report" --->
stDocName = "RptAuthorizationReport"
The underlying Query shouldn't be affected right? Just as long as it gets
its date parameters from "A" form and the report is based on its respective
data.
I conceptually know what I want to do the question is feasibility and how?
Thanks to anyone with some help on this subject
Tommy "T"
I currently have 2 Unbound Query-by-Forms that are opened from 2 buttons,
respectively, on a master form. The Query-by-Form prompts the user for a
StartDate and an EndDate with the addition of a button to open its
respective report and a close button. The Query-by-Forms are almost
identical except for the Caption and the report that each opens.
I would like to use only one Query-by-Form and pass parameters from the
master form's button through the Query-by-Form to the Report. If I can use
naming conventions based on the Tag or a portion of the name of the button
all the way to report I could do that right? But How?
MasterForm:
cmdBtnOpenAuthorizationReportVIAfrmEnterDates1ForAuthorizationReport --->
frmEnterDates1ForAuthorizationReport: Caption = "Authorization Report" --->
stDocName = "RptAuthorizationReport"
The underlying Query shouldn't be affected right? Just as long as it gets
its date parameters from "A" form and the report is based on its respective
data.
I conceptually know what I want to do the question is feasibility and how?
Thanks to anyone with some help on this subject
Tommy "T"