G
Guest
When I use this code to limit my report to printing the current record on my
form
I get a sytax error for
missing operator in expression YourPrimaryKey=CurrentValue
This is the code
DoCmd.OpenReport "YourReport", acPreview
Reports![YourReport].Filter = "YourPrimaryKey = " & Me![YourPrimaryKeyControl]
Reports![YourReport].FilterOn = True
Any help would be very useful
form
I get a sytax error for
missing operator in expression YourPrimaryKey=CurrentValue
This is the code
DoCmd.OpenReport "YourReport", acPreview
Reports![YourReport].Filter = "YourPrimaryKey = " & Me![YourPrimaryKeyControl]
Reports![YourReport].FilterOn = True
Any help would be very useful