User Tools

Site Tools


faq21

SCADA software LAquis FAQ | SCADA software

Question: How to customize reports via script?

Answer:

Reports can be customized by script.

Example in OnAfterCalculation event:

n=ldbcount ' Returns number of registers listed on report from database

if n>0 then 
 
 c=ColumnName("fieldname")   ' get column number from tag / field name

 for i=1 to n
 
  l=LdbThisLine(i)
  x=cellsn(c,l)
 
  ....
 
  x=LdbCellN("fieldname",i)
 
 
 next
 
end if

SCADA software

faq21.txt · Last modified: 2016/08/31 05:47 by scadalaquis

Page Tools


Tags: SCADA software , SCADA systems.