01-23-2006 03:40 PM
01-23-2006 04:39 PM
NI does not supply a "driver" but a wrapper for the ADO ActiveX object which allows you to talk to various kinds of DBs in windows through the same interface. I assume one of the values in your cluster is invalid (for example, if the key is automatic, you wouldn't need to enter it, although I don't know why it would return an error saying that the SQL syntax is invalid).
Another option is that maybe mySQL uses a slightly different SQL syntax, but it would sound unlikely that it should fail in something as simple as an insert operation. I suggest you post the relevant piece of code, or at least an image of it (no BMPs, please). Also, try probing inside the insert VI and look at the full SQL string being inserted into the Execute Query VI.
01-23-2006 04:55 PM
01-23-2006 10:54 PM - edited 01-23-2006 10:54 PM
Message Edited by Dynamik on 01-23-2006 11:01 PM
01-24-2006 01:03 AM