B
Bill
I am getting a strange error when I print from a VB Script. The error is:
Syntax error in date in query expression '(Report # = 08-001)'
The script is:
DoCmd.OpenReport "IR_Report", acPreview
Reports![IR_Report].Filter = "Report # = " & Me![Report]
Reports![IR_Report].FilterOn = True
The report name is IR_Report
The primary key field name is Report
Theres no date anywhere in the VB. Why is this happening????? Thx!
Syntax error in date in query expression '(Report # = 08-001)'
The script is:
DoCmd.OpenReport "IR_Report", acPreview
Reports![IR_Report].Filter = "Report # = " & Me![Report]
Reports![IR_Report].FilterOn = True
The report name is IR_Report
The primary key field name is Report
Theres no date anywhere in the VB. Why is this happening????? Thx!