Solved

No 2nd DataReport Printout

Posted on 2002-03-03
6
171 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 200 total points
ID: 6838763
Are you closing the recordset before re-using it?
0
Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

 
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

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.

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…
You can of course define an array to hold data that is of a particular type like an array of Strings to hold customer names or an array of Doubles to hold customer sales, but what do you do if you want to coordinate that data? This article describes…
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
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…

820 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