摘要
本文介绍了美国Rockwell公司RSView32组态软件,以及利用其内嵌的VBA开发报表的方法。通过两个例子说明了在VBA中,调用全局变量访问实时数据及通过ADO方式访问历史数据,并生成报表的过程。
In this paper, RSView32 configuration software, and the use of its embedded VBA to develop statements are introduced. In two examples,calling global object variables access real-time data ,using ADO access historical data and generate statements of the process are described.
关键词
RSVIEW32
VBA
ADO
全局变量
Rsview32 VBA(Visual Basic for Application) ADO(Active Data Objects) Global object variables