SCADA system

User Tools

Site Tools


faq21

LAquis FAQ | SCADA system

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 system

faq21.txt · Last modified: 2018/10/05 08:46 (external edit)

Page Tools


Tags: SCADA system , SCADA software