Microsoft
Software
Hardware
Network
Question : Using VBA in MS Access trying to prefill a pdf form...stumped on how to programmatically fill a check box..
Using VBA in MS Access trying to prefill a pdf form...
I have the following code to prefill if it is text box, stuck on how to check or uncheck a check box based on a field value.
Dim AcroApp As Acrobat.CAcroApp
Dim pdDoc As Acrobat.CAcroPDDoc
Dim fcount As Long
Dim sFieldName As String
Dim Field As AFORMAUTLib.Field
Dim Fields As AFORMAUTLib.Fields
Dim AcroForm As AFORMAUTLib.AFormApp
Dim jso As Object
dim x as object
Dim answer As Integer
If (Dir("c:\namus_reader.pdf"
) = "") Then
MsgBox "Questionnaire files not found "
Exit Sub
End If
Set pdDoc = CreateObject("AcroExch.PDD
oc")
If pdDoc.Open("c:\namus_reade
r.pdf") Then
Set X = jso.getfield("ch_agenow")
X.Value = yrsnow
Set X = jso.getfield("ch_ncicnumbe
r")
X.Value = NCICnumber
Answer : Using VBA in MS Access trying to prefill a pdf form...stumped on how to programmatically fill a check box..
You do not "need" a trust to use ADMT however trusts can make migration alot easier so are recomended by most for that reason.
Random Solutions
Unable to access exchange webmail from a remote office
The future of VBA
INSTALL - SQUID getting "pam_auth.c:133: warning: initialization from incompatible pointer type"
asp.net javascript close windows without prompting.
Insert into MySQL Table from MSSQL Insert Trigger
Counting the Character Length of a Long Field - Error
create bootable usb device with multiple OS's to choose from for installation
Security Alert when Opening Outlook
HP-UNIX - compressing/zipping files that are 31GB
MS Dynamics GP 10 Security query