Hi!
I have a subform (ShedTableSubForm) at the bottom of my MAIN form. I would
like to do two things.
1) preview on screen a report (ShedReport) of the subform data the record
currently displayed in the main form
2) print a report (ShedReport) of the subform data for only the animal
displayed in the main form
Here is the code I have attempted to use unsuccessfully to print ShedReport:
DoCmd.OpenReport[ShedReport]where Main![AnimalTableID]=" &
Me![AnimalTableIDShed]"
I currently am getting a syntax error
Thanks for the help
Tim