How would I get the MySQL last_insert_id() value into an integer
variable inside gambas?
I tried with
CurrentID=db.exec("select last_insert_id() as last")
but I get a type mismatch error. Expecting integer, got result.
Thanks,
Keith
------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
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-d2d
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user