[Gambas-user] Re; Documentation error
Benoit Minisini
gambas at ...1...
Thu Jul 19 14:08:32 CEST 2007
On jeudi 19 juillet 2007, Gareth Bult wrote:
> Hi,
>
> I just found a very small issue in the documentation which threw me a
> little .. on the gb.db -> Connection -> Edit page. It says;
>
> $hConn.Begin
> hResult = $hConn.Edit("tblDEFAULT", sCriteria, iParameter)
> ' Set field value
> hResult!Name = "Mr Smith"
> ' Update the value
> $hConn.Update
> $hConn.Commit For anyone new to databases this could be a show stopper ...
> (it sort of was for me, I've been using "EXEC" because I thought the DB
> stuff was broken)
>
> I think the last but one line should read;
>
> hResult.Update
>
> ..
>
> :)
>
> Now working for me ...
Thanks, fixed.
--
Benoit Minisini
More information about the User
mailing list