On 02/03/2014 09:34 AM, Oliver Etchebarne Bejarano wrote:
> How can I obtain the last AUTO_INCREMENT field after I run the 
> Result.Update() on a new registry? I'm using a MySQL db.

On the same connection object, "select LAST_INSERT_ID() from tablename;"

But will Result.Update() insert a new record if the Result object is
pointing past the end of the table? If it will, the wiki should be updated
to reflect that.

Rob

------------------------------------------------------------------------------
Managing the Performance of Cloud-Based Applications
Take advantage of what the Cloud has to offer - Avoid Common Pitfalls.
Read the Whitepaper.
http://pubads.g.doubleclick.net/gampad/clk?id=121051231&iu=/4140/ostg.clktrk
_______________________________________________
Gambas-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to