So, I've put 2 different ways of executing this query using vba. Unfortunately, neither way is actually executing the command. When I check the output file at the end, nothing is updated, but when I manually run the query it works fine. The two examples are below.
Method 1: After Update event once the DCN is entered since this field is absoutely required every time.
Code:
Private Sub DCN_AfterUpdate()
DoCmd.SetWarnings False
DoCmd.OpenQuery "Grades_Qry", acViewNormal, acEdit
DoCmd.SetWarnings True
End Sub
Method 2: Each combo box is updated with an on change event. The default value is set to "Pass", so I don't know if this triggers a change event from a null value upon creation of the form. Regardless, every when changing the combo box it does not run the query as is currently set-up in VBA format.
Code:
Private Sub PCH__Sponsor_SSN_Change()
Dim strSQL As String
strSQL = _
"Insert Into " & Audit_Scores & "(DCN, Audit_Field, Field_Result) " & _
"Select Audit_Db.DCN, " & "PCH: Sponsor SSN " & "As Audit_Field " & _
"Audit_Db.[PCH: Sponsor SSN] " & "As Field_Result " & _
" From Audit_Db "
End Sub
I'm also following all of this with an on save event (intended to, can't find an "On Save" event option on the form), that would then update the existing records with any subsequent changes. Again, the actual query works perfect, but I haven't built this into any type of VBA set-up yet.