<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>20 Jul 2016 17:46:00 Z</lastBuildDate><pubDate>18 Jul 2016 17:02:00 Z</pubDate><description>Hello All,&#13;
&#13;
I have a table filled by programing. I use tablesort to sort on a column.&#13;
&#13;
Problem when using multi columns I get error the the columns are not part of the table.&#13;
&#13;
Ex : TableSort(Table,"Col_1"+tab+"Col_2") will give an error.&#13;
&#13;
If I do TableSort(Table,"Col_1") it works fine.&#13;
&#13;
More Detail:&#13;
I use this code to see what sorts the user has selected&#13;
//See if there are an sorts ListColumns is string = TableSortedColumn(Table_ServiceStaus)&#13;
then follow it up with after the table is reloaded.&#13;
IF ListColumns &lt;&gt; "" THEN TableSort(Table_ServiceStaus,ListColumns) ELSE TableSort(Table_ServiceStaus,"COL_SerStatus_PO") END&#13;
If there are more then 1 column sorted by the user it gives error.&#13;
&#13;
DW</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58742-wd19-tablesort/read.awp</link><title>WD19 Tablesort</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/58742-wd19-tablesort-58779/read.awp</comments><pubDate>20 Jul 2016 17:46:00 Z</pubDate><description>Thank you Paulo,&#13;
&#13;
That Worked!&#13;
&#13;
&#13;
Dennis W</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58742-wd19-tablesort-58779/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58742-wd19-tablesort-58779/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58742-wd19-tablesort/read.awp">WD19 Tablesort</source><title>Re: WD19 Tablesort</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58742-wd19-tablesort-58773/read.awp</comments><pubDate>20 Jul 2016 13:17:00 Z</pubDate><description>did you try only with this?&#13;
&#13;
TableSort(ListColumns)</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58742-wd19-tablesort-58773/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58742-wd19-tablesort-58773/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58742-wd19-tablesort/read.awp">WD19 Tablesort</source><title>Re: WD19 Tablesort</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58742-wd19-tablesort-58758/read.awp</comments><pubDate>19 Jul 2016 18:25:00 Z</pubDate><description>Paulo,&#13;
&#13;
Same result if I try to use a variable to pass to tablesort it fails. If you do it manually it works.&#13;
&#13;
I am try to r…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58742-wd19-tablesort-58758/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58742-wd19-tablesort-58758/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58742-wd19-tablesort/read.awp">WD19 Tablesort</source><title>Re: WD19 Tablesort</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58742-wd19-tablesort-58757/read.awp</comments><pubDate>19 Jul 2016 18:09:00 Z</pubDate><description>The second option is:&#13;
sNames is string = "COL_SerStatus_ServiceDate"+TAB+"COL_SerStatus_PO"&#13;
TableSort(sNames)&#13;
&#13;
OR&#13;
&#13;
sNames …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58742-wd19-tablesort-58757/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58742-wd19-tablesort-58757/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58742-wd19-tablesort/read.awp">WD19 Tablesort</source><title>Re: WD19 Tablesort</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58742-wd19-tablesort-58756/read.awp</comments><pubDate>19 Jul 2016 18:05:00 Z</pubDate><description>Try a different way,&#13;
&#13;
If I use:&#13;
&#13;
TableSort(Table_ServiceStaus,"COL_SerStatus_ServiceDate","COL_SerStatus_PO")&#13;
&#13;
this works&#13;…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58742-wd19-tablesort-58756/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58742-wd19-tablesort-58756/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58742-wd19-tablesort/read.awp">WD19 Tablesort</source><title>Re: WD19 Tablesort</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58742-wd19-tablesort-58746/read.awp</comments><pubDate>18 Jul 2016 20:23:00 Z</pubDate><description>Hi DW,&#13;
&#13;
I use TableSort(MyTable,Col_1..name,Col_2..name,Col_x..name) and it works as a charm.&#13;
You can also put a minus sign b…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58742-wd19-tablesort-58746/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58742-wd19-tablesort-58746/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58742-wd19-tablesort/read.awp">WD19 Tablesort</source><title>Re: WD19 Tablesort</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58742-wd19-tablesort-58743/read.awp</comments><pubDate>18 Jul 2016 17:49:00 Z</pubDate><description>TableSort(Table,"Col_1","Col_2")&#13;
&#13;
if separated by TAB don't put the the table name in the first parameter, check the sintax in…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58742-wd19-tablesort-58743/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58742-wd19-tablesort-58743/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/58742-wd19-tablesort/read.awp">WD19 Tablesort</source><title>Re: WD19 Tablesort</title></item></channel></rss>
