No
--- was assuming the quick report wrapper had a dataset property and that
that was what you were trying to set - in which case you need to
ensure the dataset belongs to the same form .. or is visible to
the form (ie uses the unit the dataset is in) that contains the report. I don't
have Delphi in front of me here - so will have a look later if noone else chirps
up.... but ...
I
might have my from (BCInv) have a public method (ie
SetReportQuery(myDatset : TQuery)) that after you have created the query you can
then use to associate this query with that report ( ie BCInv.Report1.Dataset :=
myDataset)...or on the reports forms constructor (override it) pass in a query
object.
Or,
simpler still, just pop the query component on the same form as the report.
Create the form as you show etc.
But
not having used report smith, and picking up on the newbie bit, I fealt you
might be a bit lost in the woods.
|
- [DUG]: Passing DataSet to Quick Report Mark Howard
- [DUG]: Dialup Networking Sandeep
- RE: [DUG]: Passing DataSet to Quick Report James Low
- Re: [DUG]: Passing DataSet to Quick Report Mark Howard
- Re: [DUG]: Passing DataSet to Quick Report James Low
- Re: [DUG]: Passing DataSet to Quick Report Mark Howard
- RE: [DUG]: Passing DataSet to Quick Report James Low
- Re: [DUG]: Passing DataSet to Quick Report Mark Howard
- Re: [DUG]: Passing DataSet to Quick Report Nello Sestini
- RE: [DUG]: Passing DataSet to Quick Report James Low
- Re: [DUG]: Passing DataSet to Quick Report Mark Howard