P
pokdbz
I am getting a syntax error on this statement
Dim strSQL As String
strSQL = "INSERT INTO " & Genetic_ID_number & " ([" & geneticIDnum & "])
SELECT " & RandomNum & " AS RandomNum;"
CurrentDb.Execute strSQL
What I am trying to do is to insert a RandomNum into the Genetic_ID_number
table field geneticIDnum.
What is the problem with this statement
Dim strSQL As String
strSQL = "INSERT INTO " & Genetic_ID_number & " ([" & geneticIDnum & "])
SELECT " & RandomNum & " AS RandomNum;"
CurrentDb.Execute strSQL
What I am trying to do is to insert a RandomNum into the Genetic_ID_number
table field geneticIDnum.
What is the problem with this statement