<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>2 Dec 2016 08:38:00 Z</lastBuildDate><pubDate>28 Nov 2016 16:11:00 Z</pubDate><description>WD21 apps: from a Table window I double left click a table entry to display it's associated FORM window; when I exit the FORM window the table's sort order undoes itself. How can I capture the table's sort order before the FORM window opens and then restore it when the focus returns to the TABLE window (and is there a tweak I can make elsewhere in the RAD template) to stop this unwanted behavior?&#13;
&#13;
Simple test to confirm this problem: on a TABLE, manually sort the table by clicking column headers on two different columns (e.g. first click the STATE column and then the CITY column) - open the FORM window, close it and see what happens to the table's sort - it has changed on you :(</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60529-preserving-sort-order-when-returning-from-form-table/read.awp</link><title>Preserving sort order when returning from Form to Table window</title><managingEditor>moderateur@pcsoft.fr (El moderador)</managingEditor><webMaster>webmaster@pcsoft.fr (El webmaster)</webMaster><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60529-preserving-sort-order-when-returning-from-form-table-60588/read.awp</comments><pubDate>2 Dec 2016 08:38:00 Z</pubDate><description>Hi Scott, my code looks a bit different&#13;
&#13;
// ---- in " FOCUS gain of Table_ARTIKEL "&#13;
// Refresh table data?&#13;
IF FOCUS = False …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60529-preserving-sort-order-when-returning-from-form-table-60588/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60529-preserving-sort-order-when-returning-from-form-table-60588/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60529-preserving-sort-order-when-returning-from-form-table/read.awp">Preserving sort order when returning from Form to Table window</source><title>Re: Preserving sort order when returning from Form to Table window</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60529-preserving-sort-order-when-returning-from-form-table-60587/read.awp</comments><pubDate>2 Dec 2016 05:44:00 Z</pubDate><description>I spoke prematurely; the previous code didn't preserve the AAF sort order. After many failed attempts I did get this code to wor…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60529-preserving-sort-order-when-returning-from-form-table-60587/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60529-preserving-sort-order-when-returning-from-form-table-60587/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60529-preserving-sort-order-when-returning-from-form-table/read.awp">Preserving sort order when returning from Form to Table window</source><title>Re: Preserving sort order when returning from Form to Table window</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60529-preserving-sort-order-when-returning-from-form-table-60547/read.awp</comments><pubDate>30 Nov 2016 08:26:00 Z</pubDate><description>Hi Scott, you're welcome!</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60529-preserving-sort-order-when-returning-from-form-table-60547/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60529-preserving-sort-order-when-returning-from-form-table-60547/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60529-preserving-sort-order-when-returning-from-form-table/read.awp">Preserving sort order when returning from Form to Table window</source><title>Re: Preserving sort order when returning from Form to Table window</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60529-preserving-sort-order-when-returning-from-form-table-60545/read.awp</comments><pubDate>30 Nov 2016 05:03:00 Z</pubDate><description>Hi Guenter,&#13;
&#13;
I got it to work! I changed the RAD-generated code within the MODIFY button on the Table Window to the following …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60529-preserving-sort-order-when-returning-from-form-table-60545/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60529-preserving-sort-order-when-returning-from-form-table-60545/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60529-preserving-sort-order-when-returning-from-form-table/read.awp">Preserving sort order when returning from Form to Table window</source><title>Re: Preserving sort order when returning from Form to Table window</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60529-preserving-sort-order-when-returning-from-form-table-60542/read.awp</comments><pubDate>29 Nov 2016 17:41:00 Z</pubDate><description>Hi Guenter - thank you, as always, for great advice.&#13;
&#13;
I think I understand what you are describing and will give it a try toni…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60529-preserving-sort-order-when-returning-from-form-table-60542/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60529-preserving-sort-order-when-returning-from-form-table-60542/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60529-preserving-sort-order-when-returning-from-form-table/read.awp">Preserving sort order when returning from Form to Table window</source><title>Re: Preserving sort order when returning from Form to Table window</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60529-preserving-sort-order-when-returning-from-form-table-60539/read.awp</comments><pubDate>29 Nov 2016 09:47:00 Z</pubDate><description>Hi Scott, as an example, if you have a table with customer names and the customer number as a unique identifier then we return f…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60529-preserving-sort-order-when-returning-from-form-table-60539/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60529-preserving-sort-order-when-returning-from-form-table-60539/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60529-preserving-sort-order-when-returning-from-form-table/read.awp">Preserving sort order when returning from Form to Table window</source><title>Re: Preserving sort order when returning from Form to Table window</title></item></channel></rss>
