18.01.2015 Views

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

Technical Reference Manual - InduSoft

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

Contents<br />

Database/ERP functions............................................................................................................................................................738<br />

DBCursorClose...................................................................................................................................................................738<br />

DBCursorColumnCount...................................................................................................................................................... 738<br />

DBCursorColumnInfo..........................................................................................................................................................739<br />

DBCursorCurrentRow.........................................................................................................................................................740<br />

DBCursorGetValue............................................................................................................................................................. 741<br />

DBCursorMoveTo................................................................................................................................................................742<br />

DBCursorNext.....................................................................................................................................................................742<br />

DBCursorOpen................................................................................................................................................................... 743<br />

DBCursorOpenSQL............................................................................................................................................................ 744<br />

DBCursorPrevious.............................................................................................................................................................. 746<br />

DBCursorRowCount........................................................................................................................................................... 747<br />

DBDelete.............................................................................................................................................................................747<br />

DBExecute..........................................................................................................................................................................748<br />

DBInsert..............................................................................................................................................................................750<br />

DBSelect.............................................................................................................................................................................751<br />

DBUpdate........................................................................................................................................................................... 752<br />

SyncAlarm...........................................................................................................................................................................753<br />

SyncAlarmStatus................................................................................................................................................................ 754<br />

SyncEvent...........................................................................................................................................................................754<br />

SyncEventStatus.................................................................................................................................................................755<br />

SyncTrend...........................................................................................................................................................................756<br />

SyncTrendStatus................................................................................................................................................................ 757<br />

APPENDIX: VBSCRIPT....................................................................................................................................................................758<br />

VBScript Interfaces in the Software........................................................................................................................................... 759<br />

Global Procedures.............................................................................................................................................................. 760<br />

Graphic Module...................................................................................................................................................................764<br />

Background Task................................................................................................................................................................ 770<br />

Language <strong>Reference</strong>..................................................................................................................................................................772<br />

Operators............................................................................................................................................................................772<br />

Constants............................................................................................................................................................................773<br />

Objects and Collections...................................................................................................................................................... 775<br />

Properties............................................................................................................................................................................776<br />

Statements..........................................................................................................................................................................776<br />

Methods.............................................................................................................................................................................. 778<br />

Functions............................................................................................................................................................................ 778<br />

Keywords............................................................................................................................................................................ 779<br />

Errors.................................................................................................................................................................................. 779<br />

Tips & Tricks...............................................................................................................................................................................782<br />

VBScript Editor IntelliSense................................................................................................................................................782<br />

VBScript Compared to VBA................................................................................................................................................783<br />

Screen Events.....................................................................................................................................................................785<br />

MsgBox and InputBox Functions........................................................................................................................................ 785<br />

VBScript Procedures...........................................................................................................................................................785<br />

Creating Constants............................................................................................................................................................. 787<br />

Declaring Variables............................................................................................................................................................. 787<br />

Scope and Lifetime of Variables......................................................................................................................................... 788<br />

Boolean Tags and Boolean Variables................................................................................................................................. 788<br />

Writing Real Values to Integer Tags....................................................................................................................................789<br />

Precedence of VBScript Operators.....................................................................................................................................789<br />

Logical Operator NOT.........................................................................................................................................................790<br />

Using Conditional Statements............................................................................................................................................ 790<br />

Looping Through Code....................................................................................................................................................... 792<br />

Support for ActiveX Controls...............................................................................................................................................794<br />

Windows Embedded Support............................................................................................................................................. 795<br />

Page 12<br />

<strong>InduSoft</strong> Web Studio

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!