CLEAR ME for ever... open table for updating

User avatar
sal21
PlatinumLounger
Posts: 4368
Joined: 26 Apr 2010, 17:36

CLEAR ME for ever... open table for updating

Post by sal21 »

I need a clearifaction to open table for updating...

Wath is the correct parameter ?

adOpenDynamic, adLockOptimistic
or
adOpenKeyset, adLockPessimistic, adCmdTable
or
...

and i need to set a cursor for updating?

please...!!!!!

note:
i use vba for excel and adojet

User avatar
HansV
Administrator
Posts: 78594
Joined: 16 Jan 2010, 00:14
Status: Microsoft MVP
Location: Wageningen, The Netherlands

Re: CLEAR ME for ever... open table for updating

Post by HansV »

There is not a single correct answer. It depends on the situation.

See ADO Open Method and also:

Open Method (ADO Recordset)
CursorTypeEnum
LockTypeEnum
CommandTypeEnum
Best wishes,
Hans

User avatar
sal21
PlatinumLounger
Posts: 4368
Joined: 26 Apr 2010, 17:36

Re: CLEAR ME for ever... open table for updating

Post by sal21 »

HansV wrote:There is not a single correct answer. It depends on the situation.

See ADO Open Method and also:

Open Method (ADO Recordset)
CursorTypeEnum
LockTypeEnum
CommandTypeEnum
WOW! Tks.