組態(tài)王提供如下幾個(gè)函數(shù)實(shí)現(xiàn)往報(bào)表單元格中插入數(shù)據(jù):
ReportSetCellString/ReportSetCellString2:往指定報(bào)表的指定單元格中插入字符串;
ReportSetCellValue/ReportSetCellValue2:往指定報(bào)表的指定單元格中插入數(shù)值;
調(diào)用格式:
ReportSetCellString("實(shí)時(shí)數(shù)據(jù)報(bào)表", 1, 1, \本站點(diǎn)$日期);
ReportSetCellString2("實(shí)時(shí)數(shù)據(jù)報(bào)表", 1, 1, 1, 3, \本站點(diǎn)$日期);
ReportSetCellValue("實(shí)時(shí)數(shù)據(jù)報(bào)表", 1, 1, \本站點(diǎn)原料油液位值);
ReportSetCellValue2("實(shí)時(shí)數(shù)據(jù)報(bào)表", 1, 1, 1,3,\本站點(diǎn)原料油液位值);
微信掃碼 聯(lián)系企業(yè)微信客服