G
Guest
I have a main for, with a subform attached. The combination of the two, when
populated creates an Invoice report. Unfortunatly when I view the Report, it
includes all the invoice Reports page after page. How can I limit what I am
looking at to only the active Invoice displayed on my form.
I received the following answer back:-
If Me.Dirty Then
Me.Dirty = False
End If
DoCmd.OpenReport "Name of Report", , , "[InvoiceID] = " & Me!InvoiceID
I thought I would be able to figure out where the code needs inserting but
to no avail. Can anyone help
Cheers
Steve
populated creates an Invoice report. Unfortunatly when I view the Report, it
includes all the invoice Reports page after page. How can I limit what I am
looking at to only the active Invoice displayed on my form.
I received the following answer back:-
If Me.Dirty Then
Me.Dirty = False
End If
DoCmd.OpenReport "Name of Report", , , "[InvoiceID] = " & Me!InvoiceID
I thought I would be able to figure out where the code needs inserting but
to no avail. Can anyone help
Cheers
Steve