G
Gator
I have a form / subform
the form contains a field with date values and the subform contains funds
and amounts entered on that date. When my form is displaying a certain
record for a date, I want to be able to click on a button that will open a
report displaying the date payments for that date in the textbox. I figure
it's in the WHERE clause of the OpenReport...something like
docmd.OpenReport ReportName, acPreview, , "[ReportFieldName] =" &
Me![FormFieldName]
when I tried this it gave me an error
the form contains a field with date values and the subform contains funds
and amounts entered on that date. When my form is displaying a certain
record for a date, I want to be able to click on a button that will open a
report displaying the date payments for that date in the textbox. I figure
it's in the WHERE clause of the OpenReport...something like
docmd.OpenReport ReportName, acPreview, , "[ReportFieldName] =" &
Me![FormFieldName]
when I tried this it gave me an error