|
|
![]() |
| Thread Tools | Search this Thread |
#1
| |||
| |||
Lock Type in ADODB of Visual Basic 6.0 Hi, I am a beginner in Visual Basic 6.0. I want the details of Lock Type in Visual Basic 6.0. Can anyone provide me that. The which I am using does not contains that information. Please, give me that. I am waiting for your positive reply. |
#2
| |||
| |||
Re: Lock Type in ADODB of Visual Basic 6.0 Hi, I am also a beginner in visual basic 6.0. When I read this question on forum I search for it in my book of Compete reference. I have got locksypes in that as follows: Four types of locks availbale in ADODB: 1.Optimistic 2.pessimistic 3.batch optimistic 4.readonly |
#3
| |||
| |||
Re: Lock Type in ADODB of Visual Basic 6.0 Hi, in my classes I have got the Lock Type in ADODB of Visual Basic 6.0. They are totally in number of 5. As follows: 1)adLockBatchOptimistic 2)adLockOptimistic 3)adLockPessimistic 4)adLockReadOnly 5)adLockUnspecified (hidden) |
#4
| |||
| |||
Re: Lock Type in ADODB of Visual Basic 6.0 Hi, I have some information about the Lock Type in ADODB of visual basic 6.0. LockType Property Return Values. It Sets or returns one of the following LockTypeEnum values:
|
#5
| |||
| |||
Re: Lock Type in ADODB of Visual Basic 6.0 HI, The LockType property sets or returns a LockTypeEnum value that specifies the locking type while editing a record in a Recordset. Bydefault it is adLockReadOnly. Syntax: Code: objRecordset.LockType Code: <% set connect=Server.CreateObject("ADODB.Connection") connect.Provider="Microsoft.Jet.OLEDB.4.0" connect.Open(Server.Mappath("northwind.mdb")) set rst=Server.CreateObject("ADODB.recordset") sql="SELECT * FROM emplyoee" rst.CursorLocation=adUseClient rst.CursorType=adOpenStatic rst.LockType=adLockBatchOptimistic rst.Open sql, connect rst.Close conn.Close %> Constant : Value : Description
__________________ Grand Theft Auto 4 PC Video Game Last edited by Reegan : 28-11-2009 at 01:07 PM. |
![]() |
|
Tags: adodb, lock type, program, visual basic 60 |
Thread Tools | Search this Thread |
|
![]() | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
Features of Visual Basic | Gokul20 | Software Development | 5 | 13-03-2010 08:30 PM |
what are Visual Basic IDE? | Naresh Modi | Software Development | 2 | 06-03-2009 09:49 AM |
Is GUI same like Visual Basic ? | Caesar | Software Development | 2 | 02-03-2009 01:32 PM |
Visual Basic 2005 or Visual Basic 6 | Aasha | Software Development | 5 | 15-01-2009 06:56 PM |
Visual Basic on LAN | djbbenn | Software Development | 2 | 05-08-2008 02:15 PM |