Hi...
I have a button in the form when I click, I want to display a message box with all the names listed which data comes from a table field.
What I'm doing:
set db = current db
set rs = db.openrecordset ("table"
I'm checking if it returns correct number of records through msgbox
msgbox rs.recordcount
It does return correctly, exp. 15
Yet, when trying to display the whole names list
msgbox rs![Name]
It only returns one record (first one as I set it to rs.movefirst)
The record navigation in the form also shows only one record available.
Can anybody help me how make the code work so that I can see the whole records of that name field?
Thanks ahead!
Tin Tin
I have a button in the form when I click, I want to display a message box with all the names listed which data comes from a table field.
What I'm doing:
set db = current db
set rs = db.openrecordset ("table"
I'm checking if it returns correct number of records through msgbox
msgbox rs.recordcount
It does return correctly, exp. 15
Yet, when trying to display the whole names list
msgbox rs![Name]
It only returns one record (first one as I set it to rs.movefirst)
The record navigation in the form also shows only one record available.
Can anybody help me how make the code work so that I can see the whole records of that name field?
Thanks ahead!
Tin Tin