我的报表是用QRport做的,可是在运行时为什么预览里的打印按钮有时是可用的,有时又不可用?
解决方案 »
- Delphi 从内存读取函数问题?
- 谁有D7环境下收发电子邮件的原代码吗>谢谢!
- 奇怪,fastreport2.5 不能显示‘加工’两个字?
- Delphi 界面中如何加入网址连接呢?即点击一个图标或文字就打开浏览器连接指定地址。
- StoredProc1.Prepare;
- FastReport中用frReport1.DesignReport调出来的设计器看不到可用表?
- 象棋棋盘如何画?(How to draw chinese chess board?)
- 多了一个三角,散分!另问问大家学java的经验(我在java和delphi版都散了)!
- 請問高手
- delphi中excel读取合并单元格操作
- 关于ado的问题,100分相送
- 谢谢,帮帮忙
我只不过是在进行测试报表功能而已,软件还没有完成,没有什么安装啊;WWWWA(aaaa) :
TQuickRep控件有预览的功能,但是在调用预览的方法后所显示的
预览窗体中的打印按钮有时会变成不可用,而且又没有出错(也没有规律可寻)。主要是TQuickRep没有代码的,我无法知道为什么会这样?
TCustomQuickRep.PreviewModalprocedure PreviewModalDescriptionUse Preview to generate the report and bring up an on screen preview of it. From the preview window the user can choose to print the report.When calling PreviewModal the report is generated without in a background thread. Some database drivers are not thread safe and this might cause unexpected behavior or program crashes. Only use PreviewModal in situations where it is sure that a thread safe database driver will be used.我不太明白“database drivers are not thread safe ”是怎么会事。怎样才能保证数据库驱动是线程安全的,我想我的问题可能是由这个原因照成的。