Re: Problem using gb.db component

View: New views
1 Messages — Rating Filter:   Alert me  

Parent Message unknown Re: Problem using gb.db component

by Benoit Minisini :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On jeudi 26 juin 2008, you wrote:

> Hello! I've got a problem using the GB.DB component. This is the code:
>
> PUBLIC SUB Form_Open()
>
>   DIM hConn AS NEW Connection
>   DIM res AS Result
>
>   WITH hConn
>     .User = "root"
>     .Password = "asdewq"
>     .Host = "localhost"
>     .Name = "docemania"
>     .type = "mysql"
>   END WITH
>
>   hConn.Open
>
>   hConn.Begin
>
>   res = hConn.Create("Produtos")      ****** It crashes here with error
> signal #11
>
>   res!Nome = "Doce de Leite"
>   res!Descricao = "Doce de Leite"
>   res!Preco = "2.00"
>   res!PrecoVenda = "5.00"
>   res!Obs = "Nenhuma"
>   res!Data = "2008-05-01"
>   res!Ativo = 1
>   res.Update
>   hConn.Commit
>
> END
>
> Please help me. My Gambas Version is 2.5
>
> Thanks
>
> Marco

The bug has been fixed in revision #1438.

Regards,

--
Benoit Minisini

-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
Gambas-user mailing list
Gambas-user@...
https://lists.sourceforge.net/lists/listinfo/gambas-user
LightInTheBox - Buy quality products at wholesale price