I have a Access Form that we enter Data into tracking our non-conforming parts (NCMR). I have the code opening up the form and starting in the correct field, however, it is not transferring the data as I hoped. The Database is too large to share. I will attach photos of the pertinent information relating to the database. If I miss anything, please let me know.
Code:
Private Sub SendData(S As Variant)
If IsNull(S) Or S = "" Then S = " "
SendKeys S & "{TAB}", True
Sleep 300
End Sub
Code:
Private Sub FillInPDFBtn_Click()
' Hyperlink
FollowHyperlink "Y:/ISO WEB/Level IV/Quality/Q-220.pdf"
Sleep 1000 'wait for PDF to Load
' Fill in Fields
SendData NCMRNumber
SendData PageNumber
SendData OfNumber
SendData NCMRType
SendData InitiatedDate
SendData ProductFamily
End Sub




Any Help would be greatly appreciated.