forked from Ixiko/AHK-libs-and-classes-collection
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathADO.ahk
55 lines (47 loc) · 1.08 KB
/
ADO.ahk
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
/*
* Provides Static ADO Helper classes and Enums
*
*/
class ADO
{
class CursorType
{
static adOpenUnspecified := -1
static adOpenForwardOnly := 0
static adOpenKeyset := 1
static adOpenDynamic := 2
static adOpenStatic := 3
}
class LockType
{
static adLockUnspecified := -1
static adLockReadOnly := 1
static adLockPessimistic := 2
static adLockOptimistic := 3
static adLockBatchOptimistic := 4
}
class CommandType
{
static adCmdUnspecified := -1
static adCmdText := 1
static adCmdTable := 2
static adCmdStoredProc := 4
static adCmdUnknown := 8
static adCmdFile := 256
static adCmdTableDirect := 512
}
class AffectEnum
{
static adAffectCurrent := 1
static adAffectGroup := 2
}
class ObjectStateEnum
{
static adStateClosed := 0 ; The object is closed
static adStateOpen := 1 ; The object is open
static adStateConnecting := 2 ; The object is connecting
static adStateExecuting := 4 ; The object is executing a command
static adStateFetching := 8 ; The rows of the object are being retrieved
}
}