Serg Posted June 15, 2018 Share Posted June 15, 2018 Использую TClientDataSet на сервере. В приложении он связан с UniDBGrid. Редактирую строку в UniDBGrid - но на сервер изменения не приходят. Как сделать обновление записи на сервер? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 15, 2018 Share Posted June 15, 2018 Добрый день, Можете ли Вы уточнить вопрос? Как мы можем воспроизвести этот случай? Quote Link to comment Share on other sites More sharing options...
Serg Posted June 15, 2018 Author Share Posted June 15, 2018 На стороне клиента меняю поле записи но в источнике на сервере данные не меняются Quote Link to comment Share on other sites More sharing options...
Serg Posted June 15, 2018 Author Share Posted June 15, 2018 Вопрос: Обновляет ли UNIDBGRID данные на сервере? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 15, 2018 Share Posted June 15, 2018 Можете сделать тестовый случай? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 15, 2018 Share Posted June 15, 2018 Вопрос: Обновляет ли UNIDBGRID данные на сервере? Да! Quote Link to comment Share on other sites More sharing options...
Serg Posted June 15, 2018 Author Share Posted June 15, 2018 Как Вам прислать пример? Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 15, 2018 Share Posted June 15, 2018 Прикрепите здесь Quote Link to comment Share on other sites More sharing options...
Sherzod Posted June 15, 2018 Share Posted June 15, 2018 "More reply options"... Quote Link to comment Share on other sites More sharing options...
Serg Posted June 15, 2018 Author Share Posted June 15, 2018 Это пример. Редактируется единственное поле но оно не сохраняется при следующем открытии Delta.zip Quote Link to comment Share on other sites More sharing options...
Serg Posted June 15, 2018 Author Share Posted June 15, 2018 И сам проект. Delta11.zip Quote 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. Quote Link to comment Share on other sites More sharing options...
Serg Posted June 15, 2018 Author Share Posted June 15, 2018 В Delta 11 все есть Quote Link to comment Share on other sites More sharing options...
Serg Posted June 15, 2018 Author Share Posted June 15, 2018 Look Delta11 Quote Link to comment Share on other sites More sharing options...
Serg Posted June 15, 2018 Author Share Posted June 15, 2018 В примере Demos/Desktop/GridEditors аналогично не сохраняются исправления между сессиями. Алгоритм: Войти. Исправить. Перезгрузить страницу. Quote 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 методы соответственно Quote Link to comment Share on other sites More sharing options...
Serg Posted June 18, 2018 Author Share Posted June 18, 2018 Большоне спасибо. Я был невнимателен) Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.