I have used this method countless times, but I cannot for the life of me get this to work. I keep tripping a run-time error "424". Any help is appreciated as tblNormaAppend.[SORT SCORE].Value shows as "empty" and so does tblNormaAppend.SORT.Value. Both have values within the tables. Thank you so much for any help.
Private Sub Command9_Click()
DoCmd.SetWarnings False
DoCmd.OpenQuery "qryDeleteNormaRadar"
DoCmd.OpenQuery "qryDeleteNormaAppend"
DoCmd.OpenQuery "qryFilterMFG"
DoCmd.OpenQuery "qryNormaAppend"
Dim strSQL As String
strSQL = "INSERT INTO tblNormaRadar (Attribute, Score) VALUES (" & tblNormaAppend.[SORT SCORE].Value & ", '" & tblNormaAppend.SORT.Value & "');"
DoCmd.RunSQL strSQL
DoCmd.SetWarnings True
End Sub
tblNormaAppend.[SORT SCORE].Valueis not defined. TryMe.[SORT SCORE].Valueif you are running in a form's module.me.as I am not pulling from a form field. I just do not understand why the objects are showing as "empty".