ReportMachine3的数据字典里定义的变量,如何按日期预览出来?

caochen 2003-09-14 08:40:28
我是这样赋值的:
RMReport1.Dictionary.Variables['BeginDate']:=DateTimePicker1.Date;
RMReport1.Dictionary.Variables['EndDate']:=DateTimePicker2.Date;
报表当中,Memo的格式是这样的:日期范围:[BeginDate]-[EndDate]
但预览的时候两个变量出现的值是:37834 和 37878,如何改过来呢?
...全文
74 2 打赏 收藏 转发到动态 举报
写回复
用AI写文章
2 条回复
切换为时间正序
请发表友善的回复…
发表回复
dickeybird888 2003-09-17
  • 打赏
  • 举报
回复
RMReport1.Dictionary.Variables['BeginDate']:=datetostr(DateTimePicker1.Date);
RMReport1.Dictionary.Variables['EndDate']:=datetostr(DateTimePicker2.Date);
chenjiong 2003-09-17
  • 打赏
  • 举报
回复
到www.delphireport.com.cn上问

5,392

社区成员

发帖
与我相关
我的任务
社区描述
Delphi 开发及应用
社区管理员
  • VCL组件开发及应用社区
加入社区
  • 近7日
  • 近30日
  • 至今
社区公告
暂无公告

试试用AI创作助手写篇文章吧