Yep it was me. I was using a variable to capture the output and was not clearing it out before each run.
> -----Original Message----- > From: [email protected] > [mailto:[email protected]] On Behalf Of [email protected] > Sent: Tuesday, June 30, 2009 5:14 PM > To: 'Dabo Users list' > Subject: Re: [dabo-users] Report Writer - Setting dataset issue > > Hold that thought..I thought of something else that I may by > causing... > > Larry > > > -----Original Message----- > > From: [email protected] > > [mailto:[email protected]] On Behalf Of > [email protected] > > Sent: Tuesday, June 30, 2009 5:04 PM > > To: 'Dabo Users list' > > Subject: [dabo-users] Report Writer - Setting dataset issue > > > > Paul, > > > > I just spent a couple of hours trying to locate the cause > of a problem > > with the ReportWriter. > > > > I believe I found it and want your opinion as to whether this is a > > bug. > > > > I have a form where the user can enter a report's criteria. > > After making their choices, I get the data and pass that > recordset to > > an instance of RW. > > When outputting the report to a PDF file (in a preview > mode) it works > > fine. > > However, when I use the pdf2text option I was getting too many > > records. It turns out that apparently when I assign the dataset to > > the RW.Cursor property, somehow it is additive. > > In otherwords, if I run the report 3 times each with 1 > record in the > > dataset, and the 3rd time I output using pdf2text, I get 3 > records of > > data in the output. To attempt to correct this I set > RW.Cursor=None > > just before assigning it to the dataset and it makes no difference. > > > > Your thoughts? > > > > Thanks, > > Larry > > > > > > > > > > --- StripMime Report -- processed MIME parts --- > multipart/alternative > > text/plain (text body -- kept) > > text/html > > --- > > _______________________________________________ > > Post Messages to: [email protected] Subscription Maintenance: > > http://leafe.com/mailman/listinfo/dabo-users > > Searchable Archives: http://leafe.com/archives/search/dabo-users > > This message: > > http://leafe.com/archives/byMID/!~!UENERkVCMDkAAQACAAAAAAAAAAA > AAAAAABgAAAAAAAAAafA2fnYuPUOMNFpIYnBEQcKAAAAQAAAAWCnUSp3D4kKZl > eRo/xM2tQEAAAA > [email protected] > > > > _______________________________________________ > Post Messages to: [email protected] > Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users > Searchable Archives: http://leafe.com/archives/search/dabo-users > This message: > http://leafe.com/archives/byMID/!~!UENERkVCMDkAAQACAAAAAAAAAAA AAAAAABgAAAAAAAAAafA2fnYuPUOMNFpIYnBEQcKAAAAQAAAAdT8Vj3iEEU2pWoZ/nq6UqAEAAAA [email protected] > _______________________________________________ Post Messages to: [email protected] Subscription Maintenance: http://leafe.com/mailman/listinfo/dabo-users Searchable Archives: http://leafe.com/archives/search/dabo-users This message: http://leafe.com/archives/byMID/!~!UENERkVCMDkAAQACAAAAAAAAAAAAAAAAABgAAAAAAAAAafA2fnYuPUOMNFpIYnBEQcKAAAAQAAAAStiX/[email protected]
