Wrox Programmer Forums
|
VB Components Issues specific to components in VB.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VB Components section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old December 14th, 2007, 05:04 AM
Registered User
 
Join Date: Apr 2006
Posts: 6
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via Yahoo to arunmohanmp
Default Refresh Reports

Hi,

I created an Access File, from which I want to make a DataReport in association with DataEnvironment, DAO Method. When the programe is executed the report is getting printed exactly the way i need.

But when I update the table from where the DataReport is made, the changes are not shown in the report even after I closed the Report and Reopen it. I need to exit from the programme and to restart the programme to make the changes in the report.

I have already tried Datareport.Refresh command, which provide no use.

Can anyone suggest me a solution for this or any alternate methods to make a DataReport from a Table..?

Regards
MP



Thanks and Regards,
Arun Mohan M P
 
Old January 30th, 2008, 11:12 AM
Registered User
 
Join Date: Jan 2008
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hello boss,
        i am also have the same problem,have you answer of this problem? plz,sent me.

 
Old April 29th, 2008, 09:12 AM
Friend of Wrox
 
Join Date: Dec 2004
Posts: 221
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Okay.
But what is the datasource of datamember in the datareport? Are you using command object with DE Connection or Stored Procedure?
If SP, then it must fetch the proper data evertime you open the report and it has to execute that SP on each load of report open.
If Command Object the, try to use requery of the command object and refresh the datareport.

Looks like the data is cached in the report because just binding the SP or command will not do a trick, it must execute every time the data report is initialized so it can fetch the current data.

Hope this helps.


With Regards,
Raghavendra Mudugal





Similar Threads
Thread Thread Starter Forum Replies Last Post
Refresh GridView Using Refresh Button msbsam ASP.NET 2.0 Professional 0 December 6th, 2006 05:57 AM
Comparitive Reports in Crystal Reports tarunm Crystal Reports 1 January 21st, 2006 01:08 AM
comparision among crystal reports and Data reports avats Crystal Reports 0 April 13th, 2005 01:01 PM
How to create/design reports with crystal reports BassmaniaQ Crystal Reports 0 December 14th, 2004 04:58 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.