Carlos Fernandez
asked on
DAO method only "pulls" first record from the recordset
I have no problem when I send data from a recordset to an array using recordset.GetRows method in ADO, my problem comes when I try to make the same with DAO, the GetRows property only "pulls" the first record from the recordset, and I want to pull all the records from the recordset without using a loop.
I have tried the following with no success:
and
Any guess?
I have tried the following with no success:
recordset.GetRows()
and
recordset.GetRows(.RecordCount)
Any guess?
SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks Daniel and John, it worked, very crazy that it's needed in DAO method.
@Carlos better to split the points equally...Daniel wrote first about the culprit while i was writing and testing code
Open in new window