[Gambas-user] How To INSERT INTO in MySQL?

Алексей Беспалов bespalov.av at ...626...
Mon Feb 6 09:53:52 CET 2012


Try this:


sql = "INSERT INTO statistic (TimeCode, SessionStart, SessionEnd, Kluch,
Comp) VALUES (&1,&2,&3,&4,&5)"
MODMain.$Con.Subst(sql, T, Now(), Now(), kluch, Nc)
MODMain.$Con.Exec(sql)


2012/2/6 Caveat <Gambas at ...1950...>

> On Mon, 2012-02-06 at 00:14 -0800, abbat wrote:
> >
> > but it not work
>
> <sigh>
>
> Can you at least tell us the error message you got?  Why do we have to
> try to GUESS why it's not working?
>
>
>
> ------------------------------------------------------------------------------
> Try before you buy = See our experts in action!
> The most comprehensive online learning library for Microsoft developers
> is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
> Metro Style Apps, more. Free future releases when you subscribe now!
> http://p.sf.net/sfu/learndevnow-dev2
> _______________________________________________
> Gambas-user mailing list
> Gambas-user at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



-- 
____
С уважением Алексей.



More information about the User mailing list