SetReportMarginDefault

I

ismail

kindly help me in this issue...

i use this funtion SetReportMarginDefault from ACG soft's Access website
to make my report margins not changed in any printer.

it works well in mdb..if i make mde...it gives me error mess
"that command is not available in mde/ade database'


Thanks in advance.

access 2002
 
D

Douglas J. Steele

As the message states, you can't do it in an MDE.

Things like setting margins require you to be able to open the report in
Design mode. You cannot open reports (or anything else) in Design mode in an
MDE.
 
I

ismail

Thank you.
is there any solution for my problem...please help...me...
otherwise i have to give my mdb..to customer..which i should not...
if there is any tips highly apprecialted.


Regards
 
S

SA

ismail:

As Doug said, you can't change margins by code in an mde. You can open the
report in preview and adjust them manually there, however, they won't be
saved.

That said, the best design situation would be to design your report to
accommodate the majority of laser and inkjet printer's minimum margins.
Normally that .25 on the top, right and left, and .5 on the bottom. (Some
inkjets won't go any lower.) If you keep your margins set to that in design
and work your report along those lines, you should be ok.
 
Top