Thanks for the links! I'll go learning now...<br><br>Charl<br><br><div class="gmail_quote">On Wed, Dec 3, 2008 at 10:21 AM, Lee Jenkins <span dir="ltr"><<a href="mailto:lee@datatrakpos.com">lee@datatrakpos.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">Charl van Jaarsveldt wrote:<br>
> Hi All,<br>
> I have never really gotten into working with the datasets and<br>
> datasources with Delphi or Lazarus. Can someone perhaps point me to some<br>
> good online documentation/tutorial (or write a quick summary of you feel<br>
> like it :-) ) that can help me get on with this? I have the basics<br>
> down, in other words, I have a program that can read/write stuff to an<br>
> sqlite database. I am getting a little confused though when I start<br>
> thinking about some design considerations. What exactly is the<br>
> relationship between the TDataset and TDatasource? Should you have a<br>
> separate TSQLiteDataset for each use of a table? (I think I need to<br>
> implement an onscroll event, but only for one frame.) Any help would be<br>
> appreciated.<br>
><br>
<br>
</div>Charl,<br>
<br>
TDataSource is used as a go between for TDataSet and data aware controls. For<br>
instance, if you set the Datasource of the TDBGrid it will populate the grid<br>
using the TDataset.<br>
<br>
This may help you:<br>
<a href="http://delphi.about.com/od/database/a/databasecourse.htm" target="_blank">http://delphi.about.com/od/database/a/databasecourse.htm</a><br>
<br>
--<br>
Warm Regards,<br>
<font color="#888888"><br>
Lee<br>
</font><div><div></div><div class="Wj3C7c"><br>
<br>
_______________________________________________<br>
Lazarus mailing list<br>
<a href="mailto:Lazarus@lazarus.freepascal.org">Lazarus@lazarus.freepascal.org</a><br>
<a href="http://www.lazarus.freepascal.org/mailman/listinfo/lazarus" target="_blank">http://www.lazarus.freepascal.org/mailman/listinfo/lazarus</a><br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>"See first, think later, then test. But always see first. Otherwise you will only see what you were expecting. Most scientists forget that." - Douglas Adams<br>