Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations John Tel on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

GetRows method

Status
Not open for further replies.

Zygor

Technical User
Apr 18, 2001
271
US
While searching for a reply to my own question (asked a few minutes ago), I came across several references to this GetRows method. What is it and how does one use it. If it does what I think, I have many instances where I can use it in place of what I'm currently using.
 
GetRows is a method of a DAO or ADODB RecordSet that returns a variant holding a two dimensional array with columns in 1st dimension and rows in 2nd.

Hope This Helps, PH.
Want to get great answers to your Tek-Tips questions? Have a look at FAQ219-2884 or FAQ222-2244
 
Dim recArray As Variant
Dim rst As New ADODB.Recordset

recArray = rst.GetRows

'Note: GetRows returns a 0-based array where the first
'dimension contains fields and the second dimension
'contains records.


Hitting F1 on the getrows will give you a application called HELP. This should be used whenever possible.


Regards

Frederico Fonseca
SysSoft Integrated Ltd
 
Im this forum you learn something new everyday!

Thanks to you both!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top