Hi guys
im having problems with the following code i open a report in vba then after doing some operations to it would like to close it and save it but having problems.
DoCmd.OpenReport "tester", acViewPreview, , StrWhere
........do something here......
DoCmd.Close acReport "tester", acSaveYes
the moment i specify the name of the report "tester" i get an error saying Complier error "expected end of statement" and the name is highlighted
any advice on where im going wrong
im having problems with the following code i open a report in vba then after doing some operations to it would like to close it and save it but having problems.
DoCmd.OpenReport "tester", acViewPreview, , StrWhere
........do something here......
DoCmd.Close acReport "tester", acSaveYes
the moment i specify the name of the report "tester" i get an error saying Complier error "expected end of statement" and the name is highlighted
any advice on where im going wrong