摘要: Delphi is a high-level, compiled, strongly typed language that supports structured and object-oriented design. Based on Object Pascal, its benefits in 阅读全文
posted @ 2018-01-18 21:24 翼想天开的男孩 阅读(318) 评论(0) 推荐(0) 编辑
摘要: 原文地址:http://blog.barrkel.com/2010/09/virtual-method-interception.html 注:基于本人英文水平,以下翻译只是我自己的理解,如对读者造成未知影响,一切后果自负。 Delphi XE在rtti.pas单元有一个新的类型TVirtualMethodInterceptor。它最初是设计用于DataSnap的认证场景(虽然我不认为只能用在... 阅读全文
posted @ 2016-06-13 18:55 翼想天开的男孩 阅读(406) 评论(0) 推荐(0) 编辑
摘要: 系统环境及相关软件版本: Windows 7 64位, Delphi XE Version 15.0.3953.35171 , Indy 10.5.7 kbmMW4.90.04 , kbmMemTablePro7.72 , RealThinClientSDK_v654 ,UniDAC6.2.8 . 因需要RTC和UniDAC,所以先安装这2个组件。 1:UniDAC安装 设置路径:D:... 阅读全文
posted @ 2016-06-08 17:07 翼想天开的男孩 阅读(2699) 评论(0) 推荐(0) 编辑
摘要: 环境: DELPHI XE ,UniDAC 6.2.8, (Options->Provider=prNativeClient) 程序编译后,放在Windows Server 2003 (sp2 32位)上运行, 连接MSSQL2005(32位)时报以下错误: 命名管道提供程序:管道的另一端上无任何进程。 确定SQL Server Native Client 驱动已经安装。 解决... 阅读全文
posted @ 2016-06-07 08:41 翼想天开的男孩 阅读(427) 评论(0) 推荐(0) 编辑
摘要: 文本对象的最重要的功能之一是它不仅能够显示静态文本还能显示表达式。表达式混合在正常的文本内容中,让我们看一个简单的例子,他是如何工作的。在文件对象的内容中,输入以下字符: Hello, World! Today is [DATE]. 当报表运行时显示如下: Hello, World! Today is 01.01.2004. 发生了什么? 当FastReport构建报表,遇到一个在方括号中... 阅读全文
posted @ 2016-05-27 14:46 翼想天开的男孩 阅读(1689) 评论(0) 推荐(0) 编辑
摘要: 一:格式化一个值 聚合函数的一个特征是,返回的数值没有格式化,如如下例子所示,它使用“SUM”: 数据字段通常返回一个格式化的值,这是一个没有任何变化的“文本”对象所显示的值. 格式化“SUM” 的结果, 让我们用FastReport中的格式化工具. 双击报表上的对象,切换到'Display Format...' 页进行设置: 这个编辑器在左边显示格式的类别, 相应的格式字符显示在... 阅读全文
posted @ 2016-05-27 14:31 翼想天开的男孩 阅读(3256) 评论(0) 推荐(0) 编辑
摘要: 使用报表变量时,引用“frxVariables”单元。 变量定义在“TfrxVariable” 类: TfrxVariable = class(TCollectionItem) published property Name: String; //Name of a variable property Value: Variant; //Value of a variable... 阅读全文
posted @ 2016-05-27 11:43 翼想天开的男孩 阅读(2332) 评论(0) 推荐(0) 编辑
摘要: 一:加载和保存报表 报表默认保存在项目窗体文件中,大多数情况下,没有更多的操作要深圳市, 因此,你不需要采取特别措施来载入报告.如果你决定保存报表到文件或是数据库中 (这样更灵活, 比如修改报表不用重编译程序), 你可以使用 “TfrxReport” 组件是加载和保存方法: function LoadFromFile(const FileName: String; ExceptionIfNot... 阅读全文
posted @ 2016-05-27 10:19 翼想天开的男孩 阅读(7487) 评论(0) 推荐(0) 编辑
摘要: Writing Custom Wizards 编写自定义的向导 You can extend FastReport's functionality with the help of custom wizards. FastReport, for example, contains the standard “Report Wizard” which is called from the ... 阅读全文
posted @ 2016-05-26 16:38 翼想天开的男孩 阅读(258) 评论(0) 推荐(0) 编辑
摘要: Using Custom Functions in a Report 在报表中使用自己义函数 FastReport has a large number of built-in standard functions for use in report designs. FastReport also allows custom functions to be written and us... 阅读全文
posted @ 2016-05-26 16:32 翼想天开的男孩 阅读(395) 评论(0) 推荐(0) 编辑