Can somebody please tell me what is wrong with the statement below. I've got a button on a tabular form and when I press the button I want it to open the report for the record that is selected a that time. Data Input is the report and report is the name of the form. The error I'm geting is "Microsoft Access cannot find the field '|' reffered to in your expression" bt I can't see that character anywhere in my expression.
Please Help.
DoCmd.OpenReport stDocName, acPreview, , [Data Input].ID = Report.ID
Please Help.
DoCmd.OpenReport stDocName, acPreview, , [Data Input].ID = Report.ID