Thank you.
I did look at the article this morning and it doesn't really help in my situation.
Since I am compiling to an MDE, I cannot open the form in design view first (run-time error occurs). I am already running the code on Open. The code is running just fine to setup the printers, I just...
You may need to monkey with your date formats because Access goes based on your regional settings, but something like this is one way of doing it:
mid("03/01/2006",Instr(1,"03/01/2006", "/")+1, 2) & " - " & mid("03/31/2006",4,2) & " " & Format(#03/01/2006#, "mmmm") & " " & Mid("03/01/2006",7, 4)
While working in Access 2003, it would appear that you lose your printer settings in reports periodically. Since this wreaks havoc on our users printing legal size reports, I am working on setting up the printer settings in VBA.
My code is simple and works to print:
dblRptWidth =...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.