Новые сообщения [новые:0]
Дайджест
Горячие темы
Избранное [новые:0]
Форумы
Пользователи
Статистика
Статистика нагрузки
Мод. лог
Поиск
|
18.02.2003, 16:10
|
|||
---|---|---|---|
|
|||
Row set is not bookmarkable ??? ХЛП ПЛЗ !!! |
|||
#18+
Dim rs_Tbl2 As New ADODB.Recordset Dim cmd As ADODB.Command Dim x As Integer Dim cn1 As ADODB.Connection Set cn1 = New ADODB.Connection With cn1 .ConnectionString = "Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=False;Initial Catalog=Northwind;Data Source=Jeck2" '& '_ .Open End With x = 10248 Set cmd = New ADODB.Command With cmd .ActiveConnection = cn1 .CommandText = "CustOrdersDetail" .CommandType = adCmdStoredProc .Parameters.Append .CreateParameter(, adInteger, adParamInput, , x) End With Set rs_Tbl2.Source = cmd.Execute rs_Tbl2.CursorLocation = adUseServer ' или adUseClient rs_Tbl2.CursorType = adOpenStatic ' или adOpenKeyset rs_Tbl2.Open rs_Tbl2.MoveLast rc = rs_Tbl2.RecordCount Set Me.DataGrid1.DataSource = rs_Tbl2 Me.DataGrid1.Refresh Выдает ошибку Row set is not bookmarkable Как преодолеть или сделать по-другому ? ... |
|||
:
Нравится:
Не нравится:
|
|||
|
|
start [/forum/topic.php?fid=60&tablet=1&tid=2171414]: |
0ms |
get settings: |
11ms |
get forum list: |
15ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
40ms |
get topic data: |
13ms |
get forum data: |
3ms |
get page messages: |
35ms |
get tp. blocked users: |
1ms |
others: | 15ms |
total: | 139ms |
0 / 0 |