HighlandJinx
Programmer
Hi folks, I have the following code that keeps throwing the "Invalid Use of NEW keyowrd" error, any ideas. I tried the search function but it seems to be down today.
*Error Here* Set matSpecArray = New XArrayDB
arrayRecordCount = PipAdodc2.Recordset.RecordCount
matSpecArray.ReDim 0, arrayRecordCount, 0, 0
If PipAdodc2.Recordset.RecordCount <> 0 Then
PipAdodc2.Recordset.MoveFirst
End If
taa for the help.
*Error Here* Set matSpecArray = New XArrayDB
arrayRecordCount = PipAdodc2.Recordset.RecordCount
matSpecArray.ReDim 0, arrayRecordCount, 0, 0
If PipAdodc2.Recordset.RecordCount <> 0 Then
PipAdodc2.Recordset.MoveFirst
End If
taa for the help.