Re: Problem using gb.db component

View: New views
3 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-fr mailing list
Gambas-user-fr@...
https://lists.sourceforge.net/lists/listinfo/gambas-user-fr

Re: Problem using gb.db component

by Benoit Minisini :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On vendredi 27 juin 2008, Benoit Minisini wrote:

> 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,

Zut, mauvaise mailing-list...

--
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-fr mailing list
Gambas-user-fr@...
https://lists.sourceforge.net/lists/listinfo/gambas-user-fr

Re: Problem using gb.db component

by jacky-12 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Le Friday 27 June 2008 11:49:19 Benoit Minisini, vous avez écrit :

> On vendredi 27 juin 2008, Benoit Minisini wrote:
> > 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,
>
> Zut, mauvaise mailing-list...

Hé! Hé! c'est un bug du comportement ça :+)


-------------------------------------------------------------------------
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-fr mailing list
Gambas-user-fr@...
https://lists.sourceforge.net/lists/listinfo/gambas-user-fr