I have read the previous errors and unistalled ver 2.0.1 to 2.0.2 change my slq statement to:
SELECT Ticket_no, Registration_No, Issued_Date, Issued_Time, Vehicle_Make, Vehicle_Colour, Reason, Location_Code, Issued_By, Ticket_Status, Paid_date FROM Tickets WHERE Location_Code = '"&strloc3&"' ORDER BY Ticket_No DESC
I am still getting an error: WARNING!! Error in Advanced Search extension
----------------------------------- SELECT Ticket_no, Registration_No, Issued_Date, Issued_Time, Vehicle_Make, Vehicle_Colour, Reason, Location_Code, Issued_By, Ticket_Status, Paid_date FROM Tickets WHERE Location_Code = '821' ORDER BY Ticket_No DESC
----------------------------------- SELECT Ticket_no, Registration_No, Issued_Date, Issued_Time, Vehicle_Make, Vehicle_Colour, Reason, Location_Code, Issued_By, Ticket_Status, Paid_date FROM Tickets WHERE WHERE Location_Code = '821' AND (Registration_No like '%a%') ORDER BY Ticket_No DESC
----------------------------------- [MySQL][ODBC 3.51 Driver][mysqld-5.0.27-community-nt]You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near 'WHERE Location_Code = '821' AND (Registration_No like '%a%') ORDER BY Ticket_N' at line 1
|
|
|