AW: [Gambas-user] problem with "&" and mysql

Benoit Minisini gambas at ...1...
Fri Feb 10 19:56:49 CET 2006


On Friday 10 February 2006 18:50, Charlie Reinl wrote:
>
> Salut ,
>
> PUBLIC SUB btnOK_Click()
> DIM rTest AS Result
>     meConn.Handle.Begin
>     IF sWhat <> "EDIT" THEN
>         rTest = meConn.Handle.Create("crm_Customers")
>         rTest!guid = Main.UUID.getUUID()
>         rTest!mandnr = Main.sysMandNr
>     ELSE
>         rTest = meConn.Handle.Edit("crm_Customers", "guid = &1", sGUID)
>     ENDIF
>     rTest!id = TextBox7.Text
>     rTest!mcode = TextBox8.Text
>     rTest!fon = TextBox9.Text
>     rTest!mail = TextBox10.Text
>     rTest!name1 = TextBox11.Text
>     rTest!city = TextBox12.Text
>     rTest.Update
>     meConn.Handle.Commit
>      ME.Close(TRUE)
> CATCH
>     message.Warning(Replace(Error.Text, ".", "." & gb.NewLine))
> END
>
> with the upper Code the &, on my box finshed in the Database.
>

What are you talking about precisely?

-- 
Benoit Minisini





More information about the User mailing list