So this is what I am trying to do. This code needs to run using Windows Scripting Host so I believe it can be either VBScript of JScript. I am more familiar with VB, so thats what I use. I am not sure ...
' We are using the same name a for two different things: ' a = Array(...) → Here, a is an array. ' For a = ... → Here, a becomes a number (used as a counter in the loop). ' This causes a problem: once ...
In JavaScript, there are several data types, such as numbers, strings, Booleans, objects, and the null attribute. VBScript only uses one data type, Variant, which can be subtyped to represent strings, ...
Well, the easy way would be to call the ADO Recordset.GetRows() method, which returns its contents as (yes, you guessed it) a 2D array. More importantly, what are you trying to achieve with this? You ...