首页> 中文期刊>电子设计工程 >VC实现水晶报表对数据源的动态绑定和历史数据显示查询

VC实现水晶报表对数据源的动态绑定和历史数据显示查询

     

摘要

为了对在线钢板的温度数据进行实时检测和存储,以VC++6.0作为平台,建立监控点和PC机之间的串口通信,运用ADO技术将数据写入Access数据库。在PC端显示时,采用SQL语句和水晶报表自带的公式语句进行查询,将存储的数据以数据图标的形式进行回放。而传统的VC平台下对水晶报表的使用大多是绑定单一的数据源,这对多数据库的应用来说是不可行的。所以,本文基于在线钢板温度建工系统,阐述了如何在VC下实现对水晶报表的动态绑定数据源和历史数据的显示查询。%For the sake of to the examination for temperature data to carry on solid of on-line steel plate and saving,with the VC++6.0 as a terrace,the establishment supervision orders with the string of the of PC machine correspondence,the usage ADO technique writes in the data into Access database.When the PC carries to show,the adoption SQL language sentence and crystal statement carry on a search from the formula language sentence taking and carry on a saving data back to put with the data diagram object form.But the VC terrace bottom of tradition to the usage of crystal statement mostly is bind to settle single data source,this says being not viable to the application of many databases.So,this text set up work system according to the on-line steel plate temperature and elaborated how to carry out to the dynamic state of crystal statement and bind predestination according to the source and the history data's showing search under the VC.

著录项

相似文献

  • 中文文献
  • 外文文献
  • 专利
获取原文

客服邮箱:kefu@zhangqiaokeyan.com

京公网安备:11010802029741号 ICP备案号:京ICP备15016152号-6 六维联合信息科技 (北京) 有限公司©版权所有
  • 客服微信

  • 服务号