Hi all

I have a custom type

Type custom
        field1 As ...
        ...
End Type

I then have an array of these types

Dim array(10) As custom

I then do a select on rdbms and then loop through filling 
the array types.

Server stmt Bind Column 1 to    temp, stat

and then try

array(count).field1 = temp

where count is the current row in the result set.

but i get the following error

Cannot assign to array or type variable: array

>From the help files i cant see whats wrong

any ideas??

thanks to everyone who has replied to my questions

Mark


--
Mark Williamson
Heriot-Watt University
[EMAIL PROTECTED]


---------------------------------------------------------------------
List hosting provided by Directions Magazine | www.directionsmag.com |
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to