Dimension array
Posted by David on July 06, 2001 12:53 PM
I am having trouble when I define an array
If i do not declare it everything works fine but when I do it all fall apart.
I would like to define everything.
Dim vntArray(100,100) As Variant
'SUBMIT QUERY
vntArray = modMain.PerformQuery(strQuery, 1)
now the performquery redims the array but if I declare it then it won't let me all the perform query.
Any clues
Public Function PerformQuery(ByVal strQuery As String, _
Optional ByVal intFieldCount As Integer) As Variant
error is can't assign to array