From: <Ars...@bp...> - 2006-03-27 18:39:20
|
Excellent then! I'm making progress, the connection went without = problems :) has anyone made a program with LibSQL and a DBGrid? I'm = curently advancing using a StringGrid, which would help for my display = purposes, but a DBGrid where I could ApplyUpdates would be nice. I guess I could think up a way to make a workaround for ApplyUpdates :) = This is the code I've used for displaying in StringGrid, any suggestions = of a better way of doing it? This is a trial database, don't worry about = the passwordless root account ;) procedure TForm1.Button1Click(Sender: TObject); var f : integer ; begin MyDB1.Connect('localhost','root','','monitoreo_saor'); if MyDB1.Query('select nombre_dns,region from lista_routers;') then begin StringGrid1.ColCount :=3D MyDB1.ColCount; StringGrid1.RowCount :=3D MyDB1.RowCount; ShowMessage('filas: '+InttoStr(MyDB1.RowCount)+' columnas: = '+InttoStr(MyDB1.ColCount)); for f :=3D 0 to MyDB1.RowCount do begin StringGrid1.Rows[f].CommaText :=3D MyDB1.Results[f].CommaText; end; end end; I'm finding LibSQL to be very complete, at least for my needs :) thanks = for developing it! If you need help putting up examples and maybe a = tutorial, I can help, although I don't know much yet ;) Ariel -----Mensaje original----- De: lib...@li... = [mailto:lib...@li...] En nombre de = Ren=E9 Tegel Enviado el: lunes, 27 de marzo de 2006 12:05 Para: lib...@li... Asunto: Re: [libsql] Hi! newbie. What happened to the wiki? Ariel S=E1nchez Mora wrote: > I have just downloaded everything I could find on LibSQL, but the wiki > is full of porn links; someone "broke in" ? Hope you can fix it = soon... > =20 > I am looking for an easy solution that will free me of the numerous > bugs I find in dbexpress with MySQL and Delphi 7.1. From what I've=20 > seen, LibSQL is great, so I would really like to know if the group is=20 > active? So someone can send me pointers when I need them :) > =20 > Good day! > =20 > ariel Hi, Thanks for alerting me - i will look after the site and probably disable = the wiki. Wiki's are a nice idea but simply doesn't work because some=20 people lack any kind of personal honor it seems. The sourceforge list is the right one, there may be some delays=20 sometimes, the group at yahoo is inactive and no longer takes new = members. I'll put better website and documentation for libsql on my todo list. Regards, Rene ------------------------------------------------------- This SF.Net email is sponsored by xPML, a groundbreaking scripting = language that extends applications into web and mobile media. Attend the = live webcast and join the prime developer group breaking into this new = coding territory! = http://sel.as-us.falkag.net/sel?cmd=3Dk&kid=110944&bid$1720&dat=121642 _______________________________________________ libsql-discussion mailing list lib...@li... https://lists.sourceforge.net/lists/listinfo/libsql-discussion |