...now i know why i never liked working with
reports...

hi, 
im using (well, trying to) the Crystal Reports RDC 8
(Report Designer Component), and im having a little of
trouble working the reports the way i used to.



var
  Report: IReport;
  
begin
  Report := 
application1.OpenReport('c:\any_report.rpt', 1);

 
Report.ParameterFields.Item[1].addCurrentValue('angola');
 
Report.ParameterFields.Item[2].addCurrentValue('ghana');
  crviewer1.ReportSource := Report;
  crviewer1.ViewReport;
end;


it works ok, but once i click the refresh button it
doesnt show anything, i already tried tinkering w/ the
OnRefreshButton event of the view but no cigar, so..
no refreshs so far

any tips welcome..

moises

__________________________________________________
Do You Yahoo!?
Make international calls for as low as $.04/minute with Yahoo! Messenger
http://phonecard.yahoo.com/
---------------------------------------------------------------------------
    New Zealand Delphi Users group - Delphi List - [EMAIL PROTECTED]
                  Website: http://www.delphi.org.nz
To UnSub, send email to: [EMAIL PROTECTED] 
with body of "unsubscribe delphi"
Web Archive at: http://www.mail-archive.com/delphi%40delphi.org.nz/

Reply via email to