编写了mPrint、mPChose
在mPChose中有按钮调出打印预览
mPrinbt 中是报表
点击mPChose中按钮时出现如下错误:
Project pMain.exe raised exception class EAccessViolation with message "Access Violation at address 0053D67B in module 'pMain.exe'. Read of address 000002F0. Process stopped. Use Step or Run to continue.代码如下:
procedure TPChoseFrm.BitBtn1Click(Sender: TObject);
begin
PrintFrm.QuickRep1.Preview ;
end;
请高人解决,多谢!