Data Report Problem

Please support our Visual Basic 4 / 5 / 6 advertiser: Programming Forums - DaniWeb Sister Site
Reply

Join Date: Jul 2008
Posts: 55
Reputation: pardeep3dec is an unknown quantity at this point 
Solved Threads: 1
pardeep3dec pardeep3dec is offline Offline
Junior Poster in Training

Data Report Problem

 
0
  #1
Aug 5th, 2008
Dear Friends,
I got two problem related to Data Report.
1. I got more than 20 temporary file with extention .tmp in my project folder.

2. My report unable to show effect after deletion of any record. It only takes effect when i
close the program and then restart program.

If you have some procedure than please tell me
Reply With Quote Quick reply to this message  
Join Date: Nov 2007
Posts: 218
Reputation: hkdani is an unknown quantity at this point 
Solved Threads: 24
hkdani's Avatar
hkdani hkdani is offline Offline
Posting Whiz in Training

Re: Data Report Problem

 
0
  #2
Aug 5th, 2008
Originally Posted by pardeep3dec View Post
Dear Friends,
I got two problem related to Data Report.
1. I got more than 20 temporary file with extention .tmp in my project folder.

2. My report unable to show effect after deletion of any record. It only takes effect when i
close the program and then restart program.

If you have some procedure than please tell me
I wouldn't worry about the tmp files. If you have any concerns, when you're done with the project you can manually erase them.

I assume you're updating your records right before you do your report? And that you're using ADODB with Access as your database type?

You should see the changes reflected in your data report immediately after updating your database files. The only reason that I can think you're not seeing the changes would be that you already have the data report loaded but not shown. So, the report has already loaded its data.

But I guess I would need the following information to help you: (1) When is your data report loaded? and (2) some of your code showing what you're doing to update your database files.
Reply With Quote Quick reply to this message  
Join Date: May 2008
Posts: 41
Reputation: dspnhn is an unknown quantity at this point 
Solved Threads: 4
dspnhn dspnhn is offline Offline
Light Poster

Re: Data Report Problem

 
0
  #3
Aug 25th, 2008
do this

DataEnvironment1.(your rs_connection).Properties.Refresh
DataEnvironment1.(your rs_command).Open
Datareport1.Show vbModal
DataEnvironment1.(your rs_command).Close
Reply With Quote Quick reply to this message  
Reply

This thread is more than three months old.
Perhaps start a new thread instead?
Message:



Similar Threads
Other Threads in the Visual Basic 4 / 5 / 6 Forum
Thread Tools Search this Thread



Tag cloud for Visual Basic 4 / 5 / 6
About Us | Contact Us | Advertise | DaniWeb | Acceptable Use Policy | RSS Feed

©2003 - 2009 DaniWeb® LLC