Changes to Report not saving

G

GeorgeMar

Has anyone come across this before. I am changing the
orientation of a report on the fly and on closing the
report it won't save. This is what I am doing.

DoCmd.OpenReport "rptTest", acViewDesign, , , acHidden
Reports("rptTest").Printer.Orientation = acPRORLandscape
DoCmd.Close acReport, "rpttest", acSavePrompt

When I run it, the change is not saved, nor does it prompt
me to save as specified.

Can anyone tell me what is happening?

regards
george
 
Top