<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>22 Dec 2018 14:12:20 Z</lastBuildDate><pubDate>7 Apr 2014 22:06:00 Z</pubDate><description>Hello,&#13;
&#13;
I am using Classes to load and save the data (records and array of record structures).&#13;
In a page I fill a table and let the user modify the field data, no problem with that.&#13;
But when I want to save the data I only want to save what the user has modified&#13;
&#13;
I have currently created a hidden table column where I put True in on the Exit Row event of the table.&#13;
&#13;
Under my save button I use this code to check this flag and save the record.&#13;
&#13;
// Transfer the data PageToSource(PAGE_Users) // Scan for modifications FOR i = 1 TO TABLE_Login..Occurrence IF TABLE_Login[].COL_Modified THEN // Save Modifications gclUsers.ClassArray[].RecSave(gclErrorlist,True) END END // Refresh the table TableDisplay(TABLE_Login)&#13;
!! [[]] = [] because else they don't display on this forum&#13;
&#13;
The code works, but is there a better way to save only the modified data from a table ? And would it be possible to save the data when leaving the changed row, like an auto save so the user does not have to press the save button.&#13;
&#13;
Also how to make the code more generic with indirections, so I would have 1 Save button template I can use on all my pages ?&#13;
&#13;
Thanks&#13;
Danny</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/45373-wb18-save-table-rows-when-modified/read.awp</link><title>[WB18] Save Table Rows when modified ?</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>petr.pesava</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/45373-wb18-save-table-rows-when-modified-66931/read.awp</comments><pubDate>22 Dec 2018 14:12:20 Z</pubDate><description>Nobody knows?</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/45373-wb18-save-table-rows-when-modified-66931/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/45373-wb18-save-table-rows-when-modified-66931/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/45373-wb18-save-table-rows-when-modified/read.awp">[WB18] Save Table Rows when modified ?</source><title>Re: [WB18] Save Table Rows when modified ?</title></item></channel></rss>
