Re: Effects on RST in Calling Proc
- From: Tim Marshall <TIMMY!@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Sun, 04 Sep 2005 22:51:37 -0230
rkc wrote:
I don't have one single policy on this dilemma, but decide case-by-case.
The op's question involved a recordset opened as a snapshot and no mention was made of a requery. I can't think of a safer senario in
which to use a bookmark.
Thanks to all who replied and I appreciate the discussion on this particular sub thread.
Yes, the current record does indeed change. So what I ended up doing was something similar to book mark, but I used the absoluteposition property.
In the calling procedure, I dimmed a long, lngAbsPos, and did:
lngAbsPos = .AbsolutePosition
And then the called procedure has a long as an argument so lngAbsPos can be passed to it. After various machinations and any movement in the called procedure, the final step in the called procedure is:
rst.AbsolutePosition = lngAbsPos 'as passed from the calling function.
This worked fine and since the snapshot recordset is not changed in any way in the called procedure, I think this is a safe way to do it. The results I'm getting in testing seem to show this as so, anyway.
-- Tim http://www.ucs.mun.ca/~tmarshal/ ^o< /#) "Burp-beep, burp-beep, burp-beep?" - Quaker Jake /^^ "What's UP, Dittoooooo?" - Ditto .
- Follow-Ups:
- Re: Effects on RST in Calling Proc
- From: David W. Fenton
- Re: Effects on RST in Calling Proc
- References:
- Effects on RST in Calling Proc
- From: Tim Marshall
- Re: Effects on RST in Calling Proc
- From: rkc
- Re: Effects on RST in Calling Proc
- From: David W. Fenton
- Re: Effects on RST in Calling Proc
- From: rkc
- Re: Effects on RST in Calling Proc
- From: David W. Fenton
- Re: Effects on RST in Calling Proc
- From: rkc
- Re: Effects on RST in Calling Proc
- From: David W. Fenton
- Re: Effects on RST in Calling Proc
- From: Steve Jorgensen
- Re: Effects on RST in Calling Proc
- From: rkc
- Effects on RST in Calling Proc
- Prev by Date: Re: Challenge: SQL STMT for Retrieving Content(SQL) of Saved Queries
- Next by Date: Re: ListBox displays values, identical ComboBox does not
- Previous by thread: Re: Effects on RST in Calling Proc
- Next by thread: Re: Effects on RST in Calling Proc
- Index(es):
Relevant Pages
|