Quantcast
Channel: All Forums
Viewing all articles
Browse latest Browse all 26542

Why do I get this error "Microsoft OLE DB Provider for ODBC Drivers error '80040e14'

$
0
0

I've been using this register for a while now and suddenly it's stoped working and has given me an ODBC error. i've looked at the code and i'm a tad lost as to what has gone wrong. i've put a "repsonse.write(sql)" so i caa see the values see below:

INSERT INTO pleq_item (category,date_added,added_by,date_modified,modified_by,finalised,`Name`,`Brand`,`Type`,`Physical Location`,`Supplier`,`Date purchased`,`Serial Number`,`Purchase Price`,`Out of Service`,`Model`,`Notes`,`Colour`,entity) VALUES (35,'2013-04-18',488,'2013-04-18',488,0,'','','',,'',NULL,'',, ,0,'','',,1)

Microsoft OLE DB Provider for ODBC Driverserror '80040e14'

[MySQL][ODBC 3.51 Driver][mysqld-5.1.33-community]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 ''',NULL,'',, ,0,'','',,1)' at line 1

/ajax/pleq/register/add_new_item.asp, line 62



My SQL statement is as follows:

        sql = "SELECT pleq_fields.*, pleq_cat_fields.description FROM pleq_fields INNER JOIN pleq_cat_fields ON pleq_fields.id = pleq_cat_fields.field WHERE pleq_cat_fields.category="& category & " ORDER BY pleq_cat_fields.order, pleq_fields.name"



Please help me.Thanks.

Regaurds - Jake


Viewing all articles
Browse latest Browse all 26542

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>