I have an Access 2000 application which I would like my users to be able to take screen prints of by using Ctrl+P.
(done using AutoKeys macro + Docmd.PrintOut on the Screen.ActiveForm)
My problem is that for my screen prints to fit on a sheet of A4 they need to be printed in Landscape mode and Access has a nasty habit of persistently resetting the forms orientation to Portrait every time I go in to design mode.
I have some code to loop thru all forms to set orientation dynamically but it only works if there is already a PrtDevMode property for the form - which seems to keep disappearing (possibly due to SourceSafe's intervention?)
Does anyone know...
a) why the PrtDevMode keeps disappearing
b) is it feasible to create a PrtDevMode property for a form (the help info suggests that you shouldn't really be playing around with this sort of stuff)
Regards,
Shep
(done using AutoKeys macro + Docmd.PrintOut on the Screen.ActiveForm)
My problem is that for my screen prints to fit on a sheet of A4 they need to be printed in Landscape mode and Access has a nasty habit of persistently resetting the forms orientation to Portrait every time I go in to design mode.
I have some code to loop thru all forms to set orientation dynamically but it only works if there is already a PrtDevMode property for the form - which seems to keep disappearing (possibly due to SourceSafe's intervention?)
Does anyone know...
a) why the PrtDevMode keeps disappearing
b) is it feasible to create a PrtDevMode property for a form (the help info suggests that you shouldn't really be playing around with this sort of stuff)
Regards,
Shep