Link to home
Start Free TrialLog in
Avatar of avoorheis
avoorheis

asked on

load array with sql instead of table

Is there a way to use a query instead of a table in the code below?

InfoArray = CurrentDb.TableDefs("tblCells").OpenRecordset.GetRows(999999)

this didn't work:
InfoArray = CurrentDb.QueryDefs("SELECT Meas FROM tblCells").OpenRecordset.GetRows(999999)
ASKER CERTIFIED SOLUTION
Avatar of GRayL
GRayL
Flag of Canada image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of avoorheis
avoorheis

ASKER

GRayl
The first does work. Your solution does work, thanks

flavo, thanks for the follow up
GRayl
The first does work. Your solution does work, thanks

flavo, thanks for the follow up
Thanks, glad I could help.  Your Submit button stutters, just like jaffer's ;-)
There is a problem with EE.

I posted in th Bugs TA.

http:Q_21483999.html