[Gambas-user] Strange msq problem

Fabien Bodard gambas.fr at ...626...
Fri Feb 14 10:15:03 CET 2014


And If you add db.commit at the end of the job ?
Le 14 févr. 2014 10:04, "Roel Touwen [prive]" <roel at ...3306...> 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 at lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/gambas-user
>



More information about the User mailing list