By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
426,139 Members | 1,228 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 426,139 IT Pros & Developers. It's quick & easy.

getrows problem with a dao recordset

P: n/a
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
Share this Question
Share on Google+
2 Replies


P: n/a
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

P: n/a
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.