L
lovely_angel_for_you
Hi,
I am trying to get this query work. Please assist me what could be
wrong. The query would be probably wrapped, so please check, its just
one straight line.
I am trying to pull the "City" from the table where "Name" and "Time"
are found. Data is entered on the form on VB. Access is working as
backend.
ChkName = name.text
ChkTime = Time.text 'in format 00:00, 12:30
Set chkset2 = conn.Execute("SELECT city FROM Data Where Name='" &
ChkName & "' AND Time='" & ChkTime)
Whatever I may try, it gives me syntax error.
Please suggest something.
Regards
Lovely
I am trying to get this query work. Please assist me what could be
wrong. The query would be probably wrapped, so please check, its just
one straight line.
I am trying to pull the "City" from the table where "Name" and "Time"
are found. Data is entered on the form on VB. Access is working as
backend.
ChkName = name.text
ChkTime = Time.text 'in format 00:00, 12:30
Set chkset2 = conn.Execute("SELECT city FROM Data Where Name='" &
ChkName & "' AND Time='" & ChkTime)
Whatever I may try, it gives me syntax error.
Please suggest something.
Regards
Lovely