Hi I tried to execute the following text through ODBC to MySQL:
lcString = "Insert Into mytable (field1, field2) Values (?val1, ?val2);" + Chr(13) + ; "Insert Into mytable (field1, field2) Values (?val3, ?val4);" + Chr(13) + ; "Commit;" ? Sqlexec(nHandle, lcString) I constantly get -1, and it complains about synthax just before second Insert command. But if I execute each command separately, they work. What I am missing? It is not possible to send batches to MySQL using ODBC? --- StripMime Report -- processed MIME parts --- multipart/alternative text/plain (text body -- kept) text/html --- _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/profox OT-free version of this list: http://leafe.com/mailman/listinfo/profoxtech Searchable Archive: http://leafe.com/archives/search/profox This message: http://leafe.com/archives/byMID/profox/[email protected] ** All postings, unless explicitly stated otherwise, are the opinions of the author, and do not constitute legal or medical advice. This statement is added to the messages for those lawyers who are too stupid to see the obvious.

