469,908 Members | 2,131 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,908 developers. It's quick & easy.

getrows problem with a dao recordset

sometimes when I call getrows from a dao recordset, I get only one row of
data, instead of all rows. This happens even though I haven't called
movefirst or movelast. how do I prevent this from happening and ensure I
get all records?

I'm using Access 2000.
Nov 13 '05 #1
2 4085
On Aug 08 2004, 09:25 am, <arch> wrote in
news:41********@funnel.arach.net.au:
sometimes when I call getrows from a dao recordset, I get only one row of
data, instead of all rows. This happens even though I haven't called
movefirst or movelast. how do I prevent this from happening and ensure I
get all records?


To ensure that you get all rows, you do need to fully populate the
recordset by using MoveLast, then use MoveFirst, then GetRows.

--
remove a 9 to reply by email
Nov 13 '05 #2
Great. I tried that and it works. thanks.

"Dimitri Furman" <df*****@cloud99.net> wrote in message
news:Xn****************************@127.0.0.1...
On Aug 08 2004, 09:25 am, <arch> wrote in
news:41********@funnel.arach.net.au:
sometimes when I call getrows from a dao recordset, I get only one row of data, instead of all rows. This happens even though I haven't called
movefirst or movelast. how do I prevent this from happening and ensure I get all records?


To ensure that you get all rows, you do need to fully populate the
recordset by using MoveLast, then use MoveFirst, then GetRows.

--
remove a 9 to reply by email

Nov 13 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Croney69 | last post: by
9 posts views Thread by bajopalabra | last post: by
10 posts views Thread by Hank | last post: by
1 post views Thread by Waqarahmed | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.