M
MikeT
Thanks fredg and Al Campagna for you help on my first post.
Following on from the first post, I would be gratful if anyone could advise
how i can open a report but only show entries between two dates using a
command button?
Using fredg's help with my first post, i now have the following expression
which enables me to use a command button to open a report based on the
current open record:
DoCmd.OpenReport stDocName, acViewPreview, , "[RecordID]= " & Me.[RecordID]
how do i now extend that to allow me to use the same report, but only show
entries between two dates that are recorded on a seperate form (Form Name
RegDates)? RegDates contains a number of entries relating to Registration of
Events that will take place between two set dates, these are entered into
individual fields and are manually input, so for agruments sake open and
close dates, but i need my report to show me all the entries made between the
open and close dates.
Thanks for your help.
Mike
Following on from the first post, I would be gratful if anyone could advise
how i can open a report but only show entries between two dates using a
command button?
Using fredg's help with my first post, i now have the following expression
which enables me to use a command button to open a report based on the
current open record:
DoCmd.OpenReport stDocName, acViewPreview, , "[RecordID]= " & Me.[RecordID]
how do i now extend that to allow me to use the same report, but only show
entries between two dates that are recorded on a seperate form (Form Name
RegDates)? RegDates contains a number of entries relating to Registration of
Events that will take place between two set dates, these are entered into
individual fields and are manually input, so for agruments sake open and
close dates, but i need my report to show me all the entries made between the
open and close dates.
Thanks for your help.
Mike