Why would the following not return the same number of columns I see if I run
"New Crosstab" inside the Access Database? It should return 5 columns but I
only get 3 in my vbscript. Does it have something to do with "TRANSFORM" and
a crosstab query?
const ConnectString = "Provider= Microsoft.Jet.OLEDB.4.0;Data
Source=\\...\Status.mdb"
sql = "select * from [New Crosstab]"
Set rs = CreateObject("ADODB.Recordset")
rs.CursorLocation = adUseClient
rs.open sql, ConnectString, adOpenKeyset, adLockReadOnly
rows = rs.GetRows
thanks
LJB