SQL Problem

  • Thread starter Thread starter DS
  • Start date Start date
D

DS

I think, rather I now this SQL statement's Syntax is wrong,
because I keep getting a message stating so,
any help correcting it I would appreciate.
Thanks
DS



NEWHOUSESQL = "INSERT INTO tblHouseCheck " & _
"SELECT* " & _
"FROM tblChecks " & _
"WHERE tblChecks.CheckID = Forms!frmCheckPayment!TxtSalesID & " & _
"And tblChecks.ChkHouse = -1 ;"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

Function or Variable Expected 6
ORDER BY Problem 4
DSum Problem 2
From External Database 5
Setting Textbox with SQL 2
Record Copy 3
UNION QUERY (Sorting) 2
UNION SELECT Problem 2

Back
Top