Re: ADO Bookmark status



Stephen Howe wrote:
I'm not. I can't think of any situation where the bookmark would no
longer point at a record, if that record still existed in the
recordset. Is that what you mean by "invalid"? That it no longer
points at a record?

Server-sided ForwardOnly recordsets.
If ADO permitted a bookmark, you then read another 1024 records,
returning back to the record would be a problem if it is no longer in
the cache.

I dismissed this situation because I've yet to come across a provider that
supports bookmarks for this cursor type (dynamic cursors also lack bookmark
support - only cursors whose membership is fixed can support bookmarks.).

It is after all the _DATABASE_ cursor that is determining access to
records here.
I would imagine that ADO _could_ permit returning to a record if you
had shot past it, but it was still in the cache.
No idea if it does this.

It does. By default, the cache-size is one record, but there is nothing
preventing you from setting it higher, in which case navigation back to
those records in cache will be supported. However, bookmarks will still not
be supported.

There are providers (the MSDASQL one I think) that will requery the daabase
to allow movefirst behavior, which is why I cringe whenever I see movefirst
in ASP code.

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"


.



Relevant Pages

  • Kernel 2.6 SMP very slow with ServerWorks LE Chipset
    ... in UP config everything is OK in SMP the system slows right down, I've been googling and recompiling my kernel for days looking for the problem option without success, please help. ... Below is some useful output, the hdpram -tT examples below are under the smp kernel, the same commands under a uniprocessor kernel yeld fairly consistent timed cache reads around ... Linux Plug and Play Support v0.97 Adam Belay ... Probing IDE interface ide0... ...
    (Debian-User)
  • RE: Windows 2003 Server throughput vs. Windows XP
    ... "A cache miss is an event that occurs when the CPU ... Microsoft CSS for a case support. ...
    (microsoft.public.win32.programmer.kernel)
  • 2.6.15-mm3 hangs during boot (raid related?)
    ... ACPI: Local APIC address 0xfee00000 ... Enabling unmasked SIMD FPU exception support... ... CPU: L2 cache: 512K ... usb usb1: Product: EHCI Host Controller ...
    (Linux-Kernel)
  • RE: Cannot change any control id in vs2005 web project
    ... existing issue of the Visual Studio 2005 IDE. ... And each web project will has a own sub cache directory under it. ... Microsoft CSS for a hotfix against this issue. ... Microsoft MSDN Online Support Lead ...
    (microsoft.public.vsnet.general)
  • Re: Upgrading laptop processor
    ... Where they get this renewal income every year or 2 as you are forced to upgrade. ... L1 Cache 64KB+64KB ... Process Type 90 nm ... 64 bit Support Yes ...
    (microsoft.public.windowsxp.hardware)