|
|
|
recordset ... (форма доступна только на чтение)
|
|||
|---|---|---|---|
|
#18+
Не пойму в чем ошибка... Одна форма получает параметры, формирует recordset и вызывает другую, присваивая ей recordset, но в новой форме ничего не могу редактировать идет сообщение - форма доступна только на чтение... может кто сталкивался с такой проблемой, что посоветуте код модуля вызова второй формы Dim cnn As ADODB.Connection Dim rs As New ADODB.Recordset Dim strSql As String Set cnn = CurrentProject.Connection strSql = "SELECT * FROM words where words.group = '" & per & "'" Set rs = New ADODB.Recordset With rs .Source = strSql .ActiveConnection = cnn .CursorType = adOpenKeyset .LockType = adLockPessimistic .Open End With 'If rs.RecordCount > 0 Then 'End If DoCmd.Close Set frm = Nothing Set frm = New Form_all frm.SetFocus frm.Visible = True Set frm.Recordset = rs Set rs = Nothing ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 10.10.2004, 23:32:00 |
|
||
|
recordset ... (форма доступна только на чтение)
|
|||
|---|---|---|---|
|
#18+
авторSet frm.Recordset = rs ... если заменить на Код: plaintext 1. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 11.10.2004, 05:09:34 |
|
||
|
|

start [/forum/topic.php?fid=45&msg=32735958&tid=1671133]: |
0ms |
get settings: |
11ms |
get forum list: |
13ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
74ms |
get topic data: |
10ms |
get forum data: |
2ms |
get page messages: |
36ms |
get tp. blocked users: |
1ms |
| others: | 230ms |
| total: | 383ms |

| 0 / 0 |
