|
From: <re...@du...> - 2006-03-27 18:54:45
|
Ariel S=E1nchez Mora wrote:
>Excellent then! I'm making progress, the connection went without problem=
s :) has anyone made a program with LibSQL and a DBGrid? I'm curently adv=
ancing 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 ;)
> =20
>
If you need data editing from a stringgrid, have you considered using=20
libsql's (new) TDataSet compliaonce functidonality? Has some rough edges=20
though but (is presumed to) works with tables on all supported db=20
(sqlite, mysql & odbc).
Further improvends to the library regarding visual components would be=20
support units that would fill components like comboboxes, listboxes,=20
listviews, stringgriids etc. It is outside core functionality but this=20
functionality is typical a re-occuring task.
There is lots more one the to-do, excuse my limited time but i would be=20
happy to give you developer access on sf so you can contribute your=20
additions or changes in cvs.
regards,
Rene
>
>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: '+InttoSt=
r(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 tutor=
ial, I can help, although I don't know much yet ;)
>
>Ariel
>
>
>-----Mensaje original-----
>De: lib...@li... [mailto:libsql-discuss=
ion...@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:
>
> =20
>
>>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
>> =20
>>
>
>Hi,
>
>Thanks for alerting me - i will look after the site and probably disable=
=20
>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 member=
s.
>
>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 langu=
age 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&da=
t=121642
>_______________________________________________
>libsql-discussion mailing list lib...@li...
>https://lists.sourceforge.net/lists/listinfo/libsql-discussion
>
>
>-------------------------------------------------------
>This SF.Net email is sponsored by xPML, a groundbreaking scripting langu=
age
>that extends applications into web and mobile media. Attend the live web=
cast
>and join the prime developer group breaking into this new coding territo=
ry!
>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
> =20
>
|