Click to See Complete Forum and Search --> : VARIANTS


eyalmolad
March 1st, 2000, 01:36 PM
how can i put variables in an variant array. in vc++ i used createsafearray().
i want to put the results of some recordset in VARIANT array.

thanks

Kyle Burns
March 1st, 2000, 02:35 PM
'Assume you've opened a recordset named rs
'and have the number of records desired in iRecordCount
Dim avntRecordset as Variant
avntRecordset = rs.GetRows(iRecordCount)