HalloweenWeed
Member
- Local time
- Today, 09:50
- Joined
- Apr 8, 2020
- Messages
- 220
Hi,
I just ran into the situation where I may want to pass a couple of recordsets to a function/subroutine. Pardon me for asking, but when I google this I get hundreds of misses on the hits.
When you pass a recordset to a function/subroutine, I understand this is a copy, not a single shared recordset.
Does the recordset retain the same current record?
Do the bookmarks pass with the recordset?
I.e. if I set a bookmark before passing, will the function/subroutine be able to use it to set the proper active record?
If the recordset is created with SQL containing "ORDER BY," does the sort order remain in the copy?
I.e. if the sort order sets a specific record as the first record, is that record the first record on the copy?
Thank you in advance.
I just ran into the situation where I may want to pass a couple of recordsets to a function/subroutine. Pardon me for asking, but when I google this I get hundreds of misses on the hits.
When you pass a recordset to a function/subroutine, I understand this is a copy, not a single shared recordset.
Does the recordset retain the same current record?
Do the bookmarks pass with the recordset?
I.e. if I set a bookmark before passing, will the function/subroutine be able to use it to set the proper active record?
If the recordset is created with SQL containing "ORDER BY," does the sort order remain in the copy?
I.e. if the sort order sets a specific record as the first record, is that record the first record on the copy?
Thank you in advance.