Re: [fpc-pascal] Using sqldb/firebird

2006-01-30 Thread Luiz Americo
> You can execute only 1 statement at a time in SQLDB. > > So you should change: > > for i:= 0 to 100 do //if i comment this line it works >Sql.Add('insert into test (AInt, AFloat, AStr) values > ('+IntToStr(i)+', 2.1 , ''AText'');'); > > to > with FDataSet do > begin >

Re: [fpc-pascal] Using sqldb/firebird

2006-01-30 Thread Michael Van Canneyt
On Mon, 30 Jan 2006, Luiz Americo wrote: > I'm trying to use firebird through sqldb but i'm having some problems that i > don't know if is a bug or i'm missing something. > Using fpc 202, sqldb svn, windows XP, firebird 1.5.2 > > See the attached program: it tries to insert some rows to a tabl