Charlotte Foust
cfoust at infostatsystems.com
Thu Jan 30 13:19:01 CST 2003
The parameters are stored with the individual report. There have been problems with the original release of A2k losing its paper settings and that was supposedly patched in a service release. Also, if the printer the report was formatted for doesn't exist on that machine, the settings will return to the default, which is Letter. If you're talking about printer paper size, the system settings can be accessed through PrtDevMode using API calls in versions before AXP. AXP has a printer object that allows you to get the information without the direct API calls. We have a routine that uses the API calls you can find in the ADH and opens a report in design view in code and sets the paper settings before the report is printed, since our applications could be anywhere in the world and we can't control what printer they'll have. Charlotte Foust -----Original Message----- From: Tom Keatley [mailto:tom at piedpiper.com.au] Sent: Thursday, January 30, 2003 4:40 AM To: accessd at databaseadvisors.com Subject: [AccessD] REPORT PARAMETERS where does Access store them ...are they editable Hi all.... Is anyone aware of where Access stores its report parameters and if these are editable? I have a need to make the default prnter A4 in size and Access keeps making it LETTER. I have proven that ACCESS is actually causing the problem as the printer's default is definately A4 BEFORE and AFTER a report is run. My reports are all single page reports and are run in very quick succession and I think this may have something to do with it. I may run one of these or fifty before it happens A search of the Knowledgebase revealed KB92741 "Choosing a printer resets some settings" Whatever the problem the only resolution I can think of is to make A4 THE ONLY selection of paper and then Access has no choice Any help appreciated Regards Tom Keatley _______________________________________________ AccessD mailing list AccessD at databaseadvisors.com http://databaseadvisors.com/mailman/listinfo/accessd Website: http://www.databaseadvisors.com