Sign in Join

Live chat for Free Pascal, Lazarus, Delphi and every Pascal programmer.

Mailing lists / lazarus / 2003-10

DataSource/DataSet

4 messages · 4 people ·

Reply by email Subscribe to this list Your subscription

Read-only archive. Use j and k to move between messages.

Andrew Johnson
to Thomas Edwin Santosa: I've updated my lazarus source several days ago, and saw several new db-aware components.…

Some of the controls are partly useable, however they have not all been well tested. For instance DBLabel and DBEdit apear to work very well, DBListBox works for viewing, not for changing(yet), DBGrid apears to show information properly, however scrolling doesn't always work yet(for me) etc. The DB backend needs more work and cleanups to be as useable(or hopefully more so) for the controls as Delphi.

I have a self-contained somewhat out of date test app(includes its own DB and basic DbCtrls with minor modifications) with a basic unfinished Csv Table using MyLittleBase. You can try it out to see some of how well it works and too look at the basics of implementing your own Dataset. Please note some of the Dataset functionality is not implemented yet, so like I had to add the routines to Insertrecord([]), and this means a few routines you might want to use don't do anything or will cause errors. :)

http://www.ajgenius.us/random/LCLDBTest2.tar.gz

Have fun, and if you fix anything please feel free to send in patches. :)

Andrew

Thomas Edwin Santosa wrote 10 lines
Hi, I've updated my lazarus source several days ago, and saw several new db-aware components. Are those components already usable? Sorry, I don't test it my self. I plan to develop my own TDataset descendant with PostgreSql backend (is it already there?). What do I need to implement in order to make it works with DBgrid (for example). I mean the minimal implementation (update, select, insert and delete).

Reply by email

Jesus Reyes
to Andrew Johnson

--- Andrew Johnson escribi�: > Some of the
controls are partly useable, however they have not all

Show quoted text 11 lines
been well tested. For instance DBLabel and DBEdit apear to work very well, DBListBox works for viewing, not for changing(yet), DBGrid apears to show information properly, however scrolling doesn't always work yet(for me) etc. The DB backend needs more work and cleanups to be as useable(or hopefully more so) for the controls as Delphi.

DbGrid horizontal scrolling works, vertical scrolling it's not implemented yet and only basic keyboard handling is done. there are some minor painting bugs also. I hope to find some time soon to do some work with dbgrid.

regards.

Jesus Reyes A.

_________________________________________________________ Do You Yahoo!?
La mejor conexi�n a internet y 25MB extra a tu correo por $100 al mes. http://net.yahoo.com.mx

Reply by email

Andrew Higgs
to Thomas Edwin Santosa: I've updated my lazarus source several days ago, and saw several new db-aware components.…
Andrew Johnson wrote 6 lines
Some of the controls are partly useable, however they have not all been well tested. For instance DBLabel and DBEdit apear to work very well, DBListBox works for viewing, not for changing(yet), DBGrid apears to show information properly, however scrolling doesn't always work yet(for me) etc. The DB backend needs more work and cleanups to be as useable(or hopefully more so) for the controls as Delphi.

Works nicely for me using IBQuery. The navigator is looking slick. I tried out the DBGrid and DBEdit boxes. Only real problem I found was that if you navigate past Record 10, Record 1 gets replaced with the data from record 11 and this seems to hold true for the following records. When you reach the last record you can only go back 10 records. Is this a known problem?

These components are looking awesome. Thanks guys.

Does anyone have any thoughts on why TIBQuery causes a form to not be able to be streamed. I have no clue where to even try to fix this, but if anyone has a couple of not to technical explanations of things to try I will gladly try them out.

Regards
Andrew Higgs

Reply by email

Thomas Edwin Santosa

Hi,

I've updated my lazarus source several days ago, and saw several new db-aware components.
Are those components already usable? Sorry, I don't test it my self. I plan to develop my own TDataset descendant with PostgreSql backend (is it already there?).
What do I need to implement in order to make it works with DBgrid (for example). I mean the minimal implementation (update, select, insert and delete).

Thomas Edwin Santosa

Reply by email