Forum Discussion
AlexeyKolosov
15 years agoStaff
Hi Jack,
According to VBScript syntax, the Set keyword must be used only when you are assigning an object. When you are working with simple types (such as integer, which is, I believe, returned by the RowCount property), you must not use the Set keyword. Please see the following page for more information:
http://www.tizag.com/vbscriptTutorial/vbscriptvariables.php
BTW, if using VBScript is not a requirement for you, you can consider using JScript - the syntax of the scripting language is easier to understand.
Related Content
- 13 years agojyothi_priya
- 8 years agoWestManBruce