Hi,
cmb_Procent is a combobox in a form.
Here is my code :
strSQL = "SELECT TOP cint(" & Me.cmb_Procent & " /10) tblTemp.* " & _
"INTO " & strTableName & " " & _
"FROM tblTemp " & _
"ORDER BY tblTemp.RandomNumber;"
The error is : "The SELECT statement includes a reserved word or an argument name that is misspelled or missing, or the punctuation is incorrect.
Thanks in advance.
Regards,
Adrian
cmb_Procent is a combobox in a form.
Here is my code :
strSQL = "SELECT TOP cint(" & Me.cmb_Procent & " /10) tblTemp.* " & _
"INTO " & strTableName & " " & _
"FROM tblTemp " & _
"ORDER BY tblTemp.RandomNumber;"
The error is : "The SELECT statement includes a reserved word or an argument name that is misspelled or missing, or the punctuation is incorrect.
Thanks in advance.
Regards,
Adrian