omron — Contents

Contents Database/ERP functions..................................................................................................................................................... 621 DBCursorClose............................................................................................................................................................ 621 DBCursorColumnCount................................................................................................................................................621 DBCursorColumnInfo...................................................................................................................................................

622 DBCursorCurrentRow.................................................................................................................................................. 623 DBCursorGetValue.......................................................................................................................................................623 DBCursorMoveTo.........................................................................................................................................................624 DBCursorNext..............................................................................................................................................................

625 DBCursorOpen.............................................................................................................................................................625 DBCursorOpenSQL......................................................................................................................................................627 DBCursorPrevious........................................................................................................................................................628 DBCursorRowCount.....................................................................................................................................................628 DBDelete......................................................................................................................................................................629 DBExecute...................................................................................................................................................................

630 DBInsert....................................................................................................................................................................... 631 DBSelect......................................................................................................................................................................

632 DBUpdate.....................................................................................................................................................................633 SyncAlarm....................................................................................................................................................................634 SyncAlarmStatus..........................................................................................................................................................635 SyncEvent....................................................................................................................................................................

636 SyncEventStatus..........................................................................................................................................................636 SyncTrend.................................................................................................................................................................... 637 SyncTrendStatus..........................................................................................................................................................638 APPENDIX:

VBSCRIPT.............................................................................................................................................................

639 Overview..............................................................................................................................................................................640 VBScript Interfaces in the Software.....................................................................................................................................641 Global Procedures........................................................................................................................................................642 Graphic Module............................................................................................................................................................644 Background Task..........................................................................................................................................................649 Language Reference...........................................................................................................................................................652 Operators.....................................................................................................................................................................

652 Constants.....................................................................................................................................................................

652 Objects and Collections................................................................................................................................................655 Properties.....................................................................................................................................................................655 Statements...................................................................................................................................................................

656 Methods........................................................................................................................................................................657 Functions......................................................................................................................................................................658 Keywords......................................................................................................................................................................658 Errors............................................................................................................................................................................659 Tips & Tricks........................................................................................................................................................................

662 VBScript Editor IntelliSense......................................................................................................................................... 662 VBScript Compared to VBA.........................................................................................................................................

663 Screen Events..............................................................................................................................................................665 MsgBox and InputBox Functions..................................................................................................................................665 VBScript Procedures....................................................................................................................................................665 Creating Constants.......................................................................................................................................................666 Declaring Variables......................................................................................................................................................

667 Scope and Lifetime of Variables...................................................................................................................................667 Boolean Tags and Boolean Variables...........................................................................................................................667 Writing Real Values to Integer Tags............................................................................................................................. 668 Precedence of VBScript Operators..............................................................................................................................

668 Logical Operator NOT..................................................................................................................................................

669 Using Conditional Statements......................................................................................................................................670 Looping Through Code.................................................................................................................................................671 Support for ActiveX Controls........................................................................................................................................673 Windows Embedded Support.......................................................................................................................................673 InduSoft Web Studio Page 11