• Status: Solved
  • Priority: Medium
  • Security: Public
  • Views: 176
  • Last Modified:

No 2nd DataReport Printout

Hello,

I have a wierd problem:

In my proj, i have a data environment and data report. A command in the DE(which is my datareport source) access 4 tables. 3 of the tables I use for computing.  The content of the 4th table is displayed directly.

My problem is that all my report printouts are good except for the 2nd printout.  There is no data.  In using a parameterized command.  I've tried different parameters for the command. Every 2nd printout has no data.  But if i use the same parameter for the 3rd printout, the correct data is printed.

Any ideas? Please help.
Thanks
0
3Mann
Asked:
3Mann
  • 3
  • 3
1 Solution
 
Éric MoreauSenior .Net ConsultantCommented:
0
 
3MannAuthor Commented:
yup, already read that one...
0
 
Éric MoreauSenior .Net ConsultantCommented:
Are you closing the recordset before re-using it?
0
Technology Partners: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

 
3MannAuthor Commented:
uh... sorry for not posting...
already solved the bug...
i closed the connection before reusing it...

Thanks emoreau
0
 
Éric MoreauSenior .Net ConsultantCommented:
will you award me the points or will you delete the question?
0
 
3MannAuthor Commented:
Hope you'll agree if I don't give the full points posted...
First, I have already solved the prob before reading the comments and second, closing only the recordset was not enough.

Cheers
0

Featured Post

Free Tool: Path Explorer

An intuitive utility to help find the CSS path to UI elements on a webpage. These paths are used frequently in a variety of front-end development and QA automation tasks.

One of a set of tools we're offering as a way of saying thank you for being a part of the community.

  • 3
  • 3
Tackle projects and never again get stuck behind a technical roadblock.
Join Now