|
|
|
Добавление записи в АДП
|
|||
|---|---|---|---|
|
#18+
Люди, помогите! У меня две базы на двух ЕСКЮЕЛЬ серверах, мне нужно найти опредеоенные данные в таблице одной базы и добавить их в таблицу другой все конекшены работают, делаю: Set rst_s2 = cnn.Execute("SELECT ProductNameShort, Developer, Version, InstDate FROM " _ & "InvSoftware WHERE InvSoftware.client_id ='" & cl_id & "'") Set rst_s1 = CurrentProject.Connection.Execute("SELECT * FROM EMP_SOFTWARE;") rst_s1.MoveFirst While Not rst_s2.EOF rst_s1.AddNew rst_s1![Product Name].Value = rst_s2!ProductNameShort rst_s1!Developer.Value = rst_s2!Developer rst_s1!Version.Value = rst_s2!Version rst_s1![Install Date] = rst_s2!InstDate rst_s1.Update rst_s2.MoveNext Wend но на етапе rst_s1.AddNew ошибка! кто знает в чем проблема помогите плз :) ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 29.10.2004, 17:48:05 |
|
||
|
Добавление записи в АДП
|
|||
|---|---|---|---|
|
#18+
из хелпа: метод Execute: автор The returned Recordset object is always a read-only, forward-only cursor. If you need a Recordset object with more functionality, first create a Recordset object with the desired property settings, then use the Recordset object's Open method to execute the query and return the desired cursor type. если я не прав, то не кидайте в меня ссаными тряпками, я в ADO не особо пока шарю. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 29.10.2004, 18:00:21 |
|
||
|
|

start [/forum/topic.php?fid=45&gotonew=1&tid=1670667]: |
0ms |
get settings: |
5ms |
get forum list: |
9ms |
check forum access: |
2ms |
check topic access: |
2ms |
track hit: |
49ms |
get topic data: |
6ms |
get first new msg: |
4ms |
get forum data: |
2ms |
get page messages: |
24ms |
get tp. blocked users: |
1ms |
| others: | 196ms |
| total: | 300ms |

| 0 / 0 |
