Serg Posted June 15, 2018 Share Posted June 15, 2018 Использую TClientDataSet на сервере. В приложении он связан с UniDBGrid. Редактирую строку в UniDBGrid - но на сервер изменения не приходят. Как сделать обновление записи на сервер? Link to comment Share on other sites More sharing options...
Sherzod Posted June 15, 2018 Share Posted June 15, 2018 Добрый день, Можете ли Вы уточнить вопрос? Как мы можем воспроизвести этот случай? Link to comment Share on other sites More sharing options...
Serg Posted June 15, 2018 Author Share Posted June 15, 2018 На стороне клиента меняю поле записи но в источнике на сервере данные не меняются Link to comment Share on other sites More sharing options...
Serg Posted June 15, 2018 Author Share Posted June 15, 2018 Вопрос: Обновляет ли UNIDBGRID данные на сервере? Link to comment Share on other sites More sharing options...
Sherzod Posted June 15, 2018 Share Posted June 15, 2018 Можете сделать тестовый случай? Link to comment Share on other sites More sharing options...
Sherzod Posted June 15, 2018 Share Posted June 15, 2018 Вопрос: Обновляет ли UNIDBGRID данные на сервере? Да! Link to comment Share on other sites More sharing options...
Serg Posted June 15, 2018 Author Share Posted June 15, 2018 Как Вам прислать пример? Link to comment Share on other sites More sharing options...
Sherzod Posted June 15, 2018 Share Posted June 15, 2018 Прикрепите здесь Link to comment Share on other sites More sharing options...
Sherzod Posted June 15, 2018 Share Posted June 15, 2018 "More reply options"... Link to comment Share on other sites More sharing options...
Serg Posted June 15, 2018 Author Share Posted June 15, 2018 Это пример. Редактируется единственное поле но оно не сохраняется при следующем открытии Delta.zip Link to comment Share on other sites More sharing options...
Serg Posted June 15, 2018 Author Share Posted June 15, 2018 И сам проект. Delta11.zip Link to comment Share on other sites More sharing options...
Administrators Farshad Mohajeri Posted June 15, 2018 Administrators Share Posted June 15, 2018 И сам проект. Attached project does not contain forms and modules. Link to comment Share on other sites More sharing options...
Serg Posted June 15, 2018 Author Share Posted June 15, 2018 В Delta 11 все есть Link to comment Share on other sites More sharing options...
Serg Posted June 15, 2018 Author Share Posted June 15, 2018 Look Delta11 Link to comment Share on other sites More sharing options...
Serg Posted June 15, 2018 Author Share Posted June 15, 2018 В примере Demos/Desktop/GridEditors аналогично не сохраняются исправления между сессиями. Алгоритм: Войти. Исправить. Перезгрузить страницу. Link to comment Share on other sites More sharing options...
Sherzod Posted June 15, 2018 Share Posted June 15, 2018 TClientDataset является in-memory dataset'ом, для сохранения данных Вы должны использовать SaveToFile и для загрузки LoadFromFile методы соответственно Link to comment Share on other sites More sharing options...
Serg Posted June 18, 2018 Author Share Posted June 18, 2018 Большоне спасибо. Я был невнимателен) Link to comment Share on other sites More sharing options...
Recommended Posts
Please sign in to comment
You will be able to leave a comment after signing in
Sign In Now