Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

No 2nd DataReport Printout

Posted on 2002-03-03
6
Medium Priority
?
175 Views
Last Modified: 2010-05-02
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
Comment
Question by:3Mann
  • 3
  • 3
6 Comments
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 6837638
0
 
LVL 1

Author Comment

by:3Mann
ID: 6838432
yup, already read that one...
0
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 800 total points
ID: 6838763
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!

 
LVL 1

Author Comment

by:3Mann
ID: 6839030
uh... sorry for not posting...
already solved the bug...
i closed the connection before reusing it...

Thanks emoreau
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 6840087
will you award me the points or will you delete the question?
0
 
LVL 1

Author Comment

by:3Mann
ID: 6841038
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

How to Use the Help Bell

Need to boost the visibility of your question for solutions? Use the Experts Exchange Help Bell to confirm priority levels and contact subject-matter experts for question attention.  Check out this how-to article for more information.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

If you have ever used Microsoft Word then you know that it has a good spell checker and it may have occurred to you that the ability to check spelling might be a nice piece of functionality to add to certain applications of yours. Well the code that…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Get people started with the process of using Access VBA to control Excel using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Excel. Using automation, an Access application can laun…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

886 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question