G
Guest
I have a form that the user will input a value like 0133232
I would lkie to use this to create a table
Excerpt of my code is
dim two as string
Me.Form.txtmatter.SetFocus
two = Me.Form.txtmatter.Text
pstrsql = "select * into tempreportdata from FINALMATTEREXCEPTION " & _
" where mrmatter = two "
db.Execute (pstrsql)
the SQL string does not recognize the variable "two"
so my where clause is mrmatter = two.
Any suggestions would be helpful.
thanks
I would lkie to use this to create a table
Excerpt of my code is
dim two as string
Me.Form.txtmatter.SetFocus
two = Me.Form.txtmatter.Text
pstrsql = "select * into tempreportdata from FINALMATTEREXCEPTION " & _
" where mrmatter = two "
db.Execute (pstrsql)
the SQL string does not recognize the variable "two"
so my where clause is mrmatter = two.
Any suggestions would be helpful.
thanks