Number of indices is less than the number of dimensions of the indexed array.
Posted on 2004-09-26
Need quick help with this one if anybody can help me out. I'm trying to send an array to a function and that's the error message I'm getting back. I have searched all over the place and can't seem to find any help on this.
Some small bits of the code.
public overloads function getDataSet(ByVal strSQL() as String, _
ByVal strName() as String, _
ByRef errMsg as String) as DataSet
DataGrid1.datasource = mySource.getDataSet(queryStrAr(),queryNameAr(),errMsg)