行业新闻

MCGS问题:历史表格不刷新什么问题?

问题:
<div class="questions-ask-main" style="border: none; margin: 0px; padding: 0px; border-collapse: collapse; background-image: url(" .="" ..="" img="" arr6.gif?_version="1.0.6&quot;);" background-position:="" right="" center;="" background-size:="" initial;="" background-repeat:="" no-repeat;="" background-attachment:="" background-origin:="" background-clip:="" width:="" 620px;="" float:="" left;"="">历史表格不刷新什么问题?
回答:
在MCGS中,窗口中的历史表格是不会自动刷新的。历史表格只有在其窗口打开时才去访问数据库读数据,此后不再进行数据库的访问,除非组态时刷新窗口。可以使用窗口名称.Refresh()函数来刷新窗口。在循环策略或窗口的循环脚本中执行该函数。