|
|
|
Где можно найти ?
|
|||
|---|---|---|---|
|
#18+
Me.Recordset.Resync adAffectCurrent, adResyncUnderlyingValues где можно найти что это такое . и что еще есть чего нет в хелпе и как это узнать? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 17.08.2003, 20:07 |
|
||
|
Где можно найти ?
|
|||
|---|---|---|---|
|
#18+
А тебе это подошло или нет? :) В хелпе описание есть (в разделе ADO): ========= Resync Refreshes the data in the current Recordset object, or Fields collection of a Record object, from the underlying database. Syntax Recordset.Resync AffectRecords, ResyncValues Record.Fields.Resync ResyncValues Parameters AffectRecords Optional. An AffectEnum value that determines how many records the Resync method will affect. The default value is adAffectAll. This value is not available with the Resync method of the Fields collection of a Record object. ResyncValues Optional. A ResyncEnum value that specifies whether underlying values are overwritten. The default value is adResyncAllValues. Remarks Recordset Use the Resync method to resynchronize records in the current Recordset with the underlying database. This is useful if you are using either a static or forward-only cursor, but you want to see any changes in the underlying database. If you set the CursorLocation property to adUseClient, Resync is only available for non-read-only Recordset objects. Unlike the Requery method, the Resync method does not re-execute the Recordset object's underlying command. New records in the underlying database will not be visible. If the attempt to resynchronize fails because of a conflict with the underlying data (for example, a record has been deleted by another user), the provider returns warnings to the Errors collection and a run-time error occurs. Use the Filter property (adFilterConflictingRecords) and the Status property to locate records with conflicts. If the Unique Table and Resync Command dynamic properties are set, and the Recordset is the result of executing a JOIN operation on multiple tables, then the Resync method will execute the command given in the Resync Command property only on the table named in the Unique Table property. ========= В msdn, я думаю, тоже найти можно... ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 17.08.2003, 21:14 |
|
||
|
Где можно найти ?
|
|||
|---|---|---|---|
|
#18+
В дополнение: AffectEnum Specifies which records are affected by an operation. Constant Value Description adAffectCurrent 1 Affects only the current record. adAffectGroup 2 Affects only records that satisfy the current Filter property setting. You must set the Filter property to one of the valid predefined constants to use this option. adAffectAll 3 Affects all records in the Recordset. adAffectAllChapters 4 Affects records in all chapters of the Recordset. ResyncEnum Constant Value Description adResyncAllValues 2 Default. Overwrites data, and pending updates are canceled. adResyncUnderlyingValues 1 Does not overwrite data, and pending updates are not canceled. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 17.08.2003, 22:16 |
|
||
|
Где можно найти ?
|
|||
|---|---|---|---|
|
#18+
буду изучать.... может и поможет.... спасибо ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 17.08.2003, 22:18 |
|
||
|
Где можно найти ?
|
|||
|---|---|---|---|
|
#18+
пока не знаю. я не хочу для выделения использовать данные с сервера, только клиентом. а как затавить акс пересчитать форму не запрашивая данные с сервера? recalc, refresh, requery не подходят.... все красиво, замечательно , вариант выделения с помощью коллекции классс... вот только эта долбанная задержка .... обработка команды нада чем-то запустить акес на пересчет формы , а потом пусть Обработка команды... ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 17.08.2003, 22:30 |
|
||
|
Где можно найти ?
|
|||
|---|---|---|---|
|
#18+
Похоже ты меня не слышишь... :) Я тебе рассказываю про ADP, никакие дополнительные данные с сервера не тянутся (если, конечно, не было их обновления извне), для обновления используется Me.Recordset.Resync Проверено! ;) ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 17.08.2003, 23:20 |
|
||
|
Где можно найти ?
|
|||
|---|---|---|---|
|
#18+
Пардон... под вечор херово понимается особенно с англицкокого.. буду пробовать ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 18.08.2003, 07:35 |
|
||
|
Где можно найти ?
|
|||
|---|---|---|---|
|
#18+
да действительно. происходит обновление данных без запроса к серверу. но долбанныя задержка.... видимо у меня что-то с аксом даю эту команду и только через 0.31сек происходит обновление и хоть тресни. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 18.08.2003, 09:46 |
|
||
|
Где можно найти ?
|
|||
|---|---|---|---|
|
#18+
0.31сек - это большой напряг что ли? ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 18.08.2003, 09:52 |
|
||
|
Где можно найти ?
|
|||
|---|---|---|---|
|
#18+
вадя, ну мы же разобрались с resync а ты опять за свое спустя некоторое время. мы же выяснили, что resync работает, но когда приходится обновлять форму и подсовывать рекордсет с синхронизированной записью, то все - п.... форма начинает глючить выбирай - либо она тебя либо - ты без нее. ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 18.08.2003, 10:33 |
|
||
|
Где можно найти ?
|
|||
|---|---|---|---|
|
#18+
2Vsevolod V\r смотря где.\r если при кажном нажотии на стрелку полоса выделяющая запись отрабатывает через минимум 0.31с\r операторы пошлют тебя .....\r \r 2Хам Трамвайны\r да здеся эти глюки не причем.\r эта долбанная задержка проявляется и без использования рекордсетов.\r вся история начинается\r тута ... |
|||
|
:
Нравится:
Не нравится:
|
|||
| 18.08.2003, 11:30 |
|
||
|
|

start [/forum/topic.php?fid=45&msg=32238602&tid=1679876]: |
0ms |
get settings: |
11ms |
get forum list: |
17ms |
check forum access: |
3ms |
check topic access: |
3ms |
track hit: |
81ms |
get topic data: |
14ms |
get forum data: |
4ms |
get page messages: |
73ms |
get tp. blocked users: |
2ms |
| others: | 240ms |
| total: | 448ms |

| 0 / 0 |
