Kobus-Dippenaar
Registered User.
- Local time
- Today, 16:35
- Joined
- Oct 10, 2014
- Messages
- 50
Hello to all,
hope you are all well.
Sometimes I don't understand Bill Gates.
Here is my code:
tWhere = " [P_DateF]='" & txtSDate & "' ORDER BY '" & "[P_DateF]'"
'
strSQL = "SELECT * FROM [Prices] WHERE " & tWhere
Set rs = db.OpenRecordset(strSQL)
both [P_DatF] and txtSDate = "08/12/2014"
The SQL statement returns a Data type mismatch.
I am looking forward to your tutorial advice.
Blessings.
Kobus
hope you are all well.
Sometimes I don't understand Bill Gates.
Here is my code:
tWhere = " [P_DateF]='" & txtSDate & "' ORDER BY '" & "[P_DateF]'"
'
strSQL = "SELECT * FROM [Prices] WHERE " & tWhere
Set rs = db.OpenRecordset(strSQL)
both [P_DatF] and txtSDate = "08/12/2014"
The SQL statement returns a Data type mismatch.
I am looking forward to your tutorial advice.
Blessings.
Kobus