DELPHI中REPORT MACHINE 报表闪一下就没了是什么原因?
我在FORM中调用REPORT MACHINE 报表,显示一个对话框正在准备报表,闪一下就没了。代码如下:
RMDBDataSet1.DataSet:=quyprint;
RMReport1.LoadFromFile('report1.rmf');
RMReport1.Dictionary.Variables.Variable['Month']:=Month;
RMReport1.Dictionary.Variables.Variable['LastMonth']:=LastMonth;
RMReport1.Dictionary.Variables.Variable['Daxie']:=self.DaXie;
RMReport1.ShowReport;
不知是什么回事?