And If you add db.commit at the end of the job ?
Le 14 févr. 2014 10:04, "Roel Touwen [prive]" <r...@touwtje.info> a écrit :

> Hi All,
>
> I have installed the latest Fedora (20) with gambas from the repository.
>
> When I do some datathing in mysql it simple won't update the database.
>
> This code works fine on my old gambas 2 but update won't work in gambas3:
>
> Public Sub SendTimeStamp()
>   Dim Hs As String
>
>   Hs = "Test"
>
>
>     Sql = "relation = '" & Main.RobotCust & "' and robotID = " &
> Main.RobotID & " and rectype = 'TS' and subID = '' and sequencer = 0"
>     rsTimeSt = db.Edit("robots", Sql)
>     rsTimeSt!msg = Hs
>     rsTimeSt.Update()
>   Endif
>
>
> End
>
>
>
> ------------------------------------------------------------------------------
> Android apps run on BlackBerry 10
> Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
> Now with support for Jelly Bean, Bluetooth, Mapview and more.
> Get your Android app in front of a whole new audience.  Start now.
>
> http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
> _______________________________________________
> Gambas-user mailing list
> Gambas-user@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>
------------------------------------------------------------------------------
Android apps run on BlackBerry 10
Introducing the new BlackBerry 10.2.1 Runtime for Android apps.
Now with support for Jelly Bean, Bluetooth, Mapview and more.
Get your Android app in front of a whole new audience.  Start now.
http://pubads.g.doubleclick.net/gampad/clk?id=124407151&iu=/4140/ostg.clktrk
_______________________________________________
Gambas-user mailing list
Gambas-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/gambas-user

Reply via email to