|
13 Кб. |
|
| Dim rst As ADODB.Recordset
Set rst = New ADODB.Recordset
rst.Open "SELECT TreeViewNodes.[index_cod] FROM TreeViewNodes ORDER BY TreeViewNodes.[Key], TreeViewNodes.[Parent];", adOpenDynamic, adLockOptimistic, adLockOptimistic | |
|
| |
|
|
|
| Зачем 2 раза adLockOptimistic, adLockOptimistic | |
|
| |
|
|
|
| Syntax
recordset.Open Source, ActiveConnection, CursorType, LockType, Options
где у вас ActiveConnection? | |
|
| |