Trying to preserve the printer settings from a report using techniques described in Chap 10 of Access Developer’s Handbook (97). My application includes these lines of code:
sDevMode = Reports(sReportName).PrtDevMode
sSQL = “INSERT INTO atblReportSettings (ReportName, DevMode ) VALUES (‘” & _
sReportName & “‘, ‘” & sDevMode & “‘)”
CurrentDb.Execute sSQL
and sSQL resolves to:
INSERT INTO atblReportSettings (ReportName, DevMode ) VALUES ('rptDepartures', '??????? ???^?b??d?? ??? ??? ??? ? ^ ?? ??