Web Wiz - Solar Powered Eco Web Hosting

  New Posts New Posts RSS Feed - CursorTypeEnum & LockTypeEnum Question
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

CursorTypeEnum & LockTypeEnum Question

 Post Reply Post Reply
Author
want2learn View Drop Down
Newbie
Newbie


Joined: 19 May 2004
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote want2learn Quote  Post ReplyReply Direct Link To This Post Topic: CursorTypeEnum & LockTypeEnum Question
    Posted: 19 May 2004 at 5:45am

Someone that can tell me a little about how and when to use a CursorTypeEnum & LockTypeEnum.

'---- CursorTypeEnum Values ----
Const adOpenForwardOnly = 0
Const adOpenKeyset = 1
Const adOpenDynamic = 2
Const adOpenStatic = 3
'---- LockTypeEnum Values ----
Const adLockReadOnly = 1
Const adLockPessimistic = 2
Const adLockOptimistic = 3
Const adLockBatchOptimistic = 4

I know that if i want to read from a database i use ,0 ,1 or ,adOpenForwardOnly ,adLockReadOnly

but what about if i add a new record or will edit a record.
and what can i use adLockBatchOptimistic and so on till !?

One other question

CursorLocation !?? Should I use that as well as CursorType and LockType !? or is it ok just to use Cursor and Lock Type !?

and what do CursorLocation do !??

Back to Top
 Post Reply Post Reply

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.07
Copyright ©2001-2024 Web Wiz Ltd.


Become a Fan on Facebook Follow us on X Connect with us on LinkedIn Web Wiz Blogs
About Web Wiz | Contact Web Wiz | Terms & Conditions | Cookies | Privacy Policy

Web Wiz is the trading name of Web Wiz Ltd. Company registration No. 05977755. Registered in England and Wales.
Registered office: Web Wiz Ltd, Unit 18, The Glenmore Centre, Fancy Road, Poole, Dorset, BH12 4FB, UK.

Prices exclude VAT unless otherwise stated. VAT No. GB988999105 - $, € prices shown as a guideline only.

Copyright ©2001-2024 Web Wiz Ltd. All rights reserved.