Not sure if MySQL supports parameters like SQL Server, but try this instead:
try= SQLEXEC(junk, "insert into sec values(?mid,?mlnam,?mfnam,?musrnam,?mpzwd,?mlvl)") && junk is the connection handle What you provided was all strings with no quoted values so it didn't know what to make of it. try= SQLEXEC(junk, "insert into sec values(3,Bob,Smith,binky,tryit,2)") && junk is the connection handle Fred On Thu, Apr 2, 2009 at 4:19 PM, W.N. Pew <[email protected]> wrote: > Hi, again! > > > > Well I overcame the problem with YAHOO! I installed WAMPSERVER on my > machine. Dead easy! > > > > I can connect and I can select with no problem. However, I'm messing up the > formatting of the INSERT command I'm sending through the SQL pass through > (SQLEXEC()). > > > > Here's what I have: > > > > mid = 3 > > mfnam = "Bob" > > mlnam = "Smith" > > musernam = "binky" > > mpzwd = "tryit" > > mlvl = 2 > > > > After connecting I issue: > > try= SQLEXEC(junk, "insert into sec > values(&mid,&mlnam,&mfnam,&musrnam,&mpzwd,&mlvl)") && junk is the > connection > handle > > > > Not sure what I'm doing wrong but I'm getting a syntax error back from > MySql. > > > > Anyone got any ideas? > > > > Thanks! > > > > Bill > > > > > > --- StripMime Report -- processed MIME parts --- > multipart/alternative > text/plain (text body -- kept) > text/html > --- > [excessive quoting removed by server] _______________________________________________ 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.

