Re: DAO - Column rather than row
- From: "John Spencer" <spencer@xxxxxxxxx>
- Date: Thu, 31 Aug 2006 10:21:46 -0400
Try forcing the recordset to go to the end before you get the record count.
By the way did you post the entire procedure?
rs.MoveLast
data = rs.GetRows(rs.RecordCount)
"Dan" <dp_pearce@xxxxxxxxxxx> wrote in message
news:1156978218.628134.179300@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
Please excuse me if this is a novice question. I am a bit away from my
confort zone with this as I am using a DAO link to interface with
Matlab.
I want to get values from an mdb file. I am looking to pull whole
columns of data at a time but have so far only managed to get each row.
q = hDB.CreateQueryDef('','SELECT * FROM tbl_QueryPeriod')
rs = q.OpenRecordset
data = rs.GetRows(rs.RecordCount)
Is there a way to get the whole column rather than a whole row?
Kind regards
Dan
.
- References:
- DAO - Column rather than row
- From: Dan
- DAO - Column rather than row
- Prev by Date: Re: sql query where search criteria contains a single quote e.g O'Neill
- Next by Date: Re: Calculating/Storing Elapsed Time for Future Averaging
- Previous by thread: Re: DAO - Column rather than row
- Next by thread: Re: I need to generate a 8 digit Random Number in a Query
- Index(es):
Relevant Pages
|
|