p2p.wrox.com Forums

Need to download code?

View our list of code downloads.


  Return to Index  

crystal_reports thread: Refreshing the report data


Message #1 by "Gayatri Rout" <gayatri_rout@h...> on Wed, 21 Nov 2001 07:13:32
Hi Friends ,

  I've generated few reports using crystal report .These reports are 

running well .But when i'm doing any changes to the database it is not 

reflecting in the report .Can any one help me .I can refresh it mannually 

while staying in the report disigner,but while run time how to refresh it .

I don't save the report as 'save report with data'.

Thank u

Gayatri

Message #2 by "Preethi" <preethi@s...> on Wed, 21 Nov 2001 14:20:59 +0600
Hi Gayatri,



This is only a small tip. I  too  'Do not save the data with report' and

'Discard saved data while printing'



Preethi



----- Original Message -----

From: "Gayatri Rout" <gayatri_rout@h...>

To: "crystal_reports" <crystal_reports@p...>

Sent: Wednesday, November 21, 2001 7:13 AM

Subject: [crystal_reports] Refreshing the report data





> Hi Friends ,

>   I've generated few reports using crystal report .These reports are

> running well .But when i'm doing any changes to the database it is not

> reflecting in the report .Can any one help me .I can refresh it mannually

> while staying in the report disigner,but while run time how to refresh it

.

> I don't save the report as 'save report with data'.

> Thank u

> Gayatri

>




$subst('Email.Unsub')



Message #3 by "Moiz Rajkotwala" <moizsr@h...> on Wed, 21 Nov 2001 08:41:33
<html><div style='background-color:'><P>Hi Gayatri,</P>

<P>I your code, just put</P>

<P>CrystalReport1.DiscardSavedData = True</P>

<P>This would do it.</P>

<P>Bye</P>

<P>Moiz</P>

<P>&nbsp;</P>

<P>&nbsp;</P>

<P>&nbsp;</P>

<P>&gt;----- Original Message ----- </P>

<DIV></DIV>&gt;From: "Gayatri Rout" <GAYATRI_ROUT@H...>

<DIV></DIV>&gt;To: "crystal_reports" <CRYSTAL_REPORTS@P...>

<DIV></DIV>&gt;Sent: Wednesday, November 21, 2001 7:13 AM 

<DIV></DIV>&gt;Subject: [crystal_reports] Refreshing the report data 

<DIV></DIV>&gt; 

<DIV></DIV>&gt; 

<DIV></DIV>&gt; &gt; Hi Friends , 

<DIV></DIV>&gt; &gt; I've generated few reports using crystal report .These reports are 

<DIV></DIV>&gt; &gt; running well .But when i'm doing any changes to the database it is not 

<DIV></DIV>&gt; &gt; reflecting in the report .Can any one help me .I can refresh it mannually 

<DIV></DIV>&gt; &gt; while staying in the report disigner,but while run time how to refresh it 

<DIV></DIV>&gt;. 

<DIV></DIV>&gt; &gt; I don't save the report as 'save report with data'. 

<DIV></DIV>&gt; &gt; Thank u 

<DIV></DIV>&gt; &gt; Gayatri 

<DIV></DIV>&gt; &gt; 

<DIV></DIV>&gt; &gt; --- 

<DIV></DIV>&gt; &gt; 

<DIV></DIV>&gt; &gt; 

<DIV></DIV>&gt;$subst('Email.Unsub') 

<DIV></DIV>&gt; 

<DIV></DIV>&gt; 

<DIV></DIV>&gt;--- 

<DIV></DIV>&gt;

<DIV></DIV>&gt;

<DIV></DIV>&gt; 

<DIV></DIV></div><br clear=all><hr>Get your FREE download of MSN Explorer at <a
href='http://go.msn.com/bql/hmtag_itl_EN.asp'>http://explorer.msn.com</a><br></html>

Message #4 by Raihan Ahmed <raihan2k@y...> on Wed, 21 Nov 2001 01:31:17 -0800 (PST)
Hi,



 Read ur query.



  try this



 Private Sub Command1_Click()

   Crp1.DiscardSavedData = True

   Crp1.WindowShowRefreshBtn = True

   Crp1.Action = 1

End Sub



Regards,

Raihan





__________________________________________________

Do You Yahoo!?

Yahoo! GeoCities - quick and easy web site hosting, just $8.95/month.

http://geocities.yahoo.com/ps/info1


  Return to Index