G
Guest
I am trying to use the data in the variable str as the value to insert into
the field Frequency in the Table tblOutput, I have been banging my head about
this for quite some time and keep geting a varity of errors.
str = "xyz"
strSQL = "INSERT INTO tblOutput (Frequency) VALUES (str)
Set cn = CurrentProject.Connection
cn.Execute strSQL
I can insert it as a literal.
strSQL = "INSERT INTO tblOutput (Frequency) VALUES ('xyz')
Does anyone know the proper syntex for the data in the varible to be written
to the table ???, your help is always appriciated.
the field Frequency in the Table tblOutput, I have been banging my head about
this for quite some time and keep geting a varity of errors.
str = "xyz"
strSQL = "INSERT INTO tblOutput (Frequency) VALUES (str)
Set cn = CurrentProject.Connection
cn.Execute strSQL
I can insert it as a literal.
strSQL = "INSERT INTO tblOutput (Frequency) VALUES ('xyz')
Does anyone know the proper syntex for the data in the varible to be written
to the table ???, your help is always appriciated.