JH82
Member
Apologies if this is in the wrong place guys.
Always struggle with concatenating textbox input for SQL Strings.
I have the follwowing:
strSales = "INSERT MortgageSales VALUES ('" & dateSub.Text & "'" & dateComp.Text & ")"
When running the program it is giving an "incorrect syntax" error for this statement.
I assume i have the speech marks and what not muddled up
Can anyone point me in the right direction?
Many thanks
Always struggle with concatenating textbox input for SQL Strings.
I have the follwowing:
strSales = "INSERT MortgageSales VALUES ('" & dateSub.Text & "'" & dateComp.Text & ")"
When running the program it is giving an "incorrect syntax" error for this statement.
I assume i have the speech marks and what not muddled up
Can anyone point me in the right direction?
Many thanks