PC Review


Reply
Thread Tools Rate Thread

adOpenDynamic Prerequisites

 
 
Ronald Dodge
Guest
Posts: n/a
 
      15th Jan 2004
OS: W2K Pro, SP4
App & Ver: AC02, SP2
Programming Language: ADO in VBA
Provider: Microsoft.Jet.OLEDB.4.0
DB Setup: FE (1 on Client Side) / BE (Multiple on Shared Server Side)

Hopefully, I have provided enough general information about what I'm working
with above.

What are the prerequisites for having a recordset with the above specs to be
able to open with a Dynamic Cursor rather than with a Keyset Cursor?

I initially tried the following code, but only got the Keyset CursorType
when I do need the recordset to be able to see not only changes, but also
additions and deletions concurrently:

arsTRN.Open "SELECT * FROM tblCNVTRN", adbMD, adOpenDynamic,
adLockPessimistic

Then I tried the following and still to no avail, it went to the Keyset
CursorType.

arsTRN.CursorType = adOpenDynamic
arsTRN.LockType = adLockPessimistic
arsTRN.Open "SELECT * FROM tblCNVTRN", adbMD

--
Ronald R. Dodge, Jr.
Production Statistician
Master MOUS 2000


 
Reply With Quote
 
 
 
 
Ronald Dodge
Guest
Posts: n/a
 
      30th Jan 2004
As I learned, Microsoft.Jet.OLEDB.4.0 provider does not allow for dynamic
cursor type, thus why it's been going to keyset cursor type. I will
therefore have to find some other solution to this issue.

--
Ronald R. Dodge, Jr.
Production Statistician
Master MOUS 2000

"Ronald Dodge" <(E-Mail Removed)> wrote in message
news:%23u0%(E-Mail Removed)...
> OS: W2K Pro, SP4
> App & Ver: AC02, SP2
> Programming Language: ADO in VBA
> Provider: Microsoft.Jet.OLEDB.4.0
> DB Setup: FE (1 on Client Side) / BE (Multiple on Shared Server Side)
>
> Hopefully, I have provided enough general information about what I'm

working
> with above.
>
> What are the prerequisites for having a recordset with the above specs to

be
> able to open with a Dynamic Cursor rather than with a Keyset Cursor?
>
> I initially tried the following code, but only got the Keyset CursorType
> when I do need the recordset to be able to see not only changes, but also
> additions and deletions concurrently:
>
> arsTRN.Open "SELECT * FROM tblCNVTRN", adbMD, adOpenDynamic,
> adLockPessimistic
>
> Then I tried the following and still to no avail, it went to the Keyset
> CursorType.
>
> arsTRN.CursorType = adOpenDynamic
> arsTRN.LockType = adLockPessimistic
> arsTRN.Open "SELECT * FROM tblCNVTRN", adbMD
>
> --
> Ronald R. Dodge, Jr.
> Production Statistician
> Master MOUS 2000
>
>



 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Prerequisites Finn Stampe Mikkelsen Microsoft C# .NET 1 22nd Jan 2010 06:19 PM
Prerequisites Finn Stampe Mikkelsen Microsoft C# .NET 3 20th Sep 2009 07:16 AM
where can I get prerequisites for VS .NET? =?Utf-8?B?15PXldeo15XXnyDXl9eh15nXk9eZ150=?= Microsoft VB .NET 1 13th Oct 2006 03:40 AM
prerequisites for XP PRO iffig Windows XP Basics 3 10th Mar 2004 03:51 PM
.Net Prerequisites Sean Microsoft Dot NET Framework 1 8th Nov 2003 09:14 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 03:07 AM.