bddewell408
Technical User
I am using Access 2007.
To make a long story short, I have developed a database for my father, a mechanical engineer, and have duplicated a CERTIFICATION FORM for pressure vessels he inspects.
I developed this with the intention of allowing other inspectors to get a copy and use it themselves, so I created a table named tblInspector and in that table I have a field named oleSignature, this is a field that allows the inspector to scan his signature and insert it, so when a PDF is created of the form, the signature and certifying mark are on the page and the form does not need to be scanned as a picture file to send it electronically.
I do not want the signature or marks showing until after the inspector has checked a checkbox named ysninsertSig.
THE PROBLEM
In the ON OPEN I have attempted to use a macro that says :
Condition Reports![rptInspectionReportbyReportNumber]![ysnInsertSig]=True (or -1, neither work)
Action Set Property oleSignature Visible -1
I get a TypeMismatch error
This same strategy works for hiding controls and subforms in the forms, why does this not work on the reports.
To make a long story short, I have developed a database for my father, a mechanical engineer, and have duplicated a CERTIFICATION FORM for pressure vessels he inspects.
I developed this with the intention of allowing other inspectors to get a copy and use it themselves, so I created a table named tblInspector and in that table I have a field named oleSignature, this is a field that allows the inspector to scan his signature and insert it, so when a PDF is created of the form, the signature and certifying mark are on the page and the form does not need to be scanned as a picture file to send it electronically.
I do not want the signature or marks showing until after the inspector has checked a checkbox named ysninsertSig.
THE PROBLEM
In the ON OPEN I have attempted to use a macro that says :
Condition Reports![rptInspectionReportbyReportNumber]![ysnInsertSig]=True (or -1, neither work)
Action Set Property oleSignature Visible -1
I get a TypeMismatch error
This same strategy works for hiding controls and subforms in the forms, why does this not work on the reports.