[Lazarus] LazReport & Database

Chris Kelling kellingc at cox.net
Thu Jan 5 16:18:55 CET 2012




On Thu, Jan 5, 2012 at 10:09 AM, Koenraad Lelong wrote:

> Like always, I put my database-components in a datamodule. Then I 
> placed a frReport on a visible form. I started editing the report and 
> I tried to place some database-fields on the report. Unfortunately, 
> there were no fields available to place.
>
> After experimenting for some time I found I had to place the dataset 
> (or query) on the same form as the report. Then I can place 
> database-fields on the report.

Is the unit you are defining the data module with in the USES statement 
of your form?


-Chris




More information about the Lazarus mailing list