Re: [Lazarus] Ubuntu 9.04 (Lazarus too slow)

2009-05-06 Thread Eduardo Lopez
Hi Leonardo: I run Lazarus 0.9.27 in Ubuntu 9.04 without problem (GTK2). But i run Windows XP in VirtualBox and some applications are very slow and take the CPU to 100%. I tried VMPlayer and it works very well. I think that there are some bugs in VirtualBox that remains from old versions. Tr

Re: [Lazarus] Stored Procedure and Returning Values

2009-03-28 Thread Eduardo Lopez
ge(SQLQuery1.FieldByName('ZLECENIE').AsString); > SQLQuery1.Close; > > I got: > 'SQLQuery1: Cannot open a non-select statement' > > I think the problem is that my procedure is not "selectable" and I > don't know to han

Re: [Lazarus] Stored Procedure and Returning Values

2009-03-28 Thread Eduardo Lopez
> qry01.SQL.Text:= 'Execute procedure ZnajdzKodKreskowy (:Kod, 0, 0, 0, > :IleCyfrSprawdzac) '; > qry01.Open.Active := True; > > I get erreor: 'Statment cannot be performed on non-select stetment' or > something like that and I must do > > qry01.ExecSQ

Re: [Lazarus] Stored Procedure and Returning Values

2009-03-27 Thread Eduardo Lopez
Hi, you must do a "select * from ZnajdzKodKreskowy (:Kod, 0, 0, 0, :IleCyfrSprawdzac)" The example: qry01.SQL.Clear; qry01.SQL.Text:= 'select * from ZnajdzKodKreskowy (:Kod, 0, 0, 0, :IleCyfrSprawdzac)'; qry01.Params.ParamByName('Kod').AsString:= 'AAA'; qry01.Params.ParamByName('IleCy

Re: [Lazarus] Problem working with Params in TSQLQuery

2008-08-19 Thread Eduardo Lopez
ase..) Thanks!!. Eduardo. - Mensaje original De: Osvaldo Filho <[EMAIL PROTECTED]> Para: General mailing list Enviado: martes 19 de agosto de 2008, 10:30:59 Asunto: Re: [Lazarus] Problem working with Params in TSQLQuery try UIB + FBDataset. Is very, very good. 2008/8/18 Eduardo Lopez &l

Re: [Lazarus] Problem working with Params in TSQLQuery

2008-08-19 Thread Eduardo Lopez
Yes!! It works now.!! My challenge is now: a) modify all my db structure or b) replace the sqldb components with zeos. Thank you very much to all!! Eduardo. On Tue, 19 Aug 2008, Eduardo Lopez wrote: > I'm sorry. The table has a basic structure: CREATE TABLE USUARIOS ( CODUSU Char

Re: [Lazarus] Problem working with Params in TSQLQuery

2008-08-19 Thread Eduardo Lopez
D]> Para: General mailing list Enviado: martes 19 de agosto de 2008, 4:48:16 Asunto: Re: [Lazarus] Problem working with Params in TSQLQuery > > > On Mon, 18 Aug 2008, Eduardo Lopez wrote: > > > Joost van der Sluis escribió: > >> I isolate the problem doing a

Re: [Lazarus] Problem working with Params in TSQLQuery

2008-08-19 Thread Eduardo Lopez
I'm sorry, my mistake :-) Jua!.. this is my second stupid think. Thanks to all. Eduardo > >> > >> On Mon, 18 Aug 2008, Eduardo Lopez wrote: > >> http://www.sistemasrpm.com.ar/soporte/test_param.tar.g > > > > I get a permission denied error trying

Re: [Lazarus] Problem working with Params in TSQLQuery

2008-08-18 Thread Eduardo Lopez
Joost van der Sluis escribió: >> I isolate the problem doing a simple program and the problem remains. >> Then make a copy of this simple program and change the components to >> Zeos. (6.6.3-stable) and works well. >> >> I'll consider change the sqldb components for Zeos in my application as >> a

Re: [Lazarus] Problem working with Params in TSQLQuery

2008-08-18 Thread Eduardo Lopez
Joost van der Sluis escribió: > Op maandag 18-08-2008 om 09:14 uur [tijdzone +0200], schreef Michael Van > Canneyt: > >> On Mon, 18 Aug 2008, Eduardo Lopez wrote: >> >> >> ave parameters working. Is the ParseSQL property set to 'True' ? >>

[Lazarus] Problem working with Params in TSQLQuery

2008-08-17 Thread Eduardo Lopez
The scenario: Lazarus 0.9.25 svn: 16095M fpc 2.2.2 Ubuntu 8.04 GTK2 SQLDb components TIBConnection The following query works well: qry02.SQL.Clear; qry02.SQL.Text:= 'select PASSWOR from USUARIOS where CODUSU = ' + chr(39) + trim(pUsuario) + chr(39); trn02.Active:=true; qry02.O

Re: [Lazarus] Lazreport, last version from svn (revision 15566) don't complile

2008-06-27 Thread Eduardo Lopez
--- El mié 25-jun-08, Eduardo Lopez <[EMAIL PROTECTED]> escribió: > De:: Eduardo Lopez <[EMAIL PROTECTED]> > Asunto: Re: [Lazarus] Lazreport, last version from svn (revision 15566) don't > complile > A: "General mailing list" > Fecha: miércoles, 25

Re: [Lazarus] Lazreport, last version from svn (revision 15566) don't complile

2008-06-25 Thread Eduardo Lopez
I'm sorry for the omission, the fpc version is 2.2.0 Eduardo. Jesus Reyes escribió: > > --- El mar 24-jun-08, Eduardo Lopez <[EMAIL PROTECTED]> escribió: > > >> De:: Eduardo Lopez <[EMAIL PROTECTED]> >> Asunto: [Lazarus] Lazreport, last version fro

[Lazarus] Lazreport, last version from svn (revision 15566) don't complile

2008-06-24 Thread Eduardo Lopez
The last version of lazreport (revision 15566) give the following error: /home/eduardo/lazarus/components/lazreport/source/sysutilsadds.pas(46,4) Fatal: Can't find unit CLocale used by SysUtilsAdds Regards. Eduardo. ___ Lazarus mailing list Lazarus@