<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>30 Sep 2016 14:59:00 Z</lastBuildDate><pubDate>30 Sep 2016 13:37:00 Z</pubDate><description>Thought I would use the new 'GetCountryList()' function to save a bit of time.&#13;
This worked OK and returned 249 rows which I added to an array.&#13;
&#13;
Next I needed to move 'United Kingdom' to be the first option avaiable in the list (combo).&#13;
&#13;
Seemed I had everything I needed.......&#13;
lnSeekNdx is int = Nation(nationEnglish) lnSeekRes lnSeekRes = ArraySeek(m_Arr_Country,asLinear,"NationID",lnSeekNdx) IF lnSeekRes &gt; 0 THEN ArrayMove(m_Arr_Country,lnSeekRes,1,amMove) END The code worked fine however the result was not what I expected as row 1 of the combo now contained information relating to 'Anguilla'.&#13;
Investigation showed that both UK and Anguilla have the 'lcNation' element set with the value of 3 - there may be others but I have not looked.&#13;
&#13;
I did think that there might be issues with the USA and its territories but not with the UK.&#13;
&#13;
Now investigating plan B</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59759-getcountrylist-function/read.awp</link><title>GetCountryList()' function</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/59759-getcountrylist-function-59764/read.awp</comments><pubDate>30 Sep 2016 14:59:00 Z</pubDate><description>Hi Steven&#13;
&#13;
My plan B is pretty much along the lines of which you describe.&#13;
I am now storing the 3 char country ISO and Numeri…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59759-getcountrylist-function-59764/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59759-getcountrylist-function-59764/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59759-getcountrylist-function/read.awp">GetCountryList()' function</source><title>Re: GetCountryList()' function</title></item><item><author>tim</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59759-getcountrylist-function-59763/read.awp</comments><pubDate>30 Sep 2016 14:56:30 Z</pubDate><description>Hi,&#13;
&#13;
Using the nation code is not the way to go because different nations can have the same code.&#13;
There are other unique iden…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59759-getcountrylist-function-59763/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59759-getcountrylist-function-59763/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59759-getcountrylist-function/read.awp">GetCountryList()' function</source><title>Re: GetCountryList()' function</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59759-getcountrylist-function-59762/read.awp</comments><pubDate>30 Sep 2016 14:30:00 Z</pubDate><description>Hi Derek,&#13;
&#13;
My plan B was to use a Country table in the database, automatically populated by GetCountryList().&#13;
As of moving "y…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59759-getcountrylist-function-59762/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59759-getcountrylist-function-59762/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/59759-getcountrylist-function/read.awp">GetCountryList()' function</source><title>Re: GetCountryList()' function</title></item></channel></rss>
