<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>14 Aug 2018 14:17:00 Z</lastBuildDate><pubDate>13 Aug 2018 17:20:00 Z</pubDate><description>Hi&#13;
&#13;
In one page I have a small Structure defined as below.&#13;
&#13;
STStores is Structure&#13;
StoreCode is string&#13;
Description is string&#13;
VCode is string&#13;
END&#13;
gstRecStores is STStores&#13;
garrStores is array of STStores&#13;
&#13;
I fill with a few entries and all is fine. I want to pass this array to a new window, where the number of entries in the array can be increased or decreased.&#13;
&#13;
How do I go about passing this array backwards and forwards between the 2 Windows? The way I am doing it now, the array, once received in the 1st window, has lost a bit of it's readability i.e. StoreCode on some lines are suddenly empty.&#13;
&#13;
Thanks in advance for your assistance.&#13;
&#13;
&#13;
&#13;
Ericus Steyn</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66602-wd21-passing-array-between-2-windows/read.awp</link><title>[WD21]Passing array between 2 windows</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/66602-wd21-passing-array-between-2-windows-nobody-done-66618/read.awp</comments><pubDate>14 Aug 2018 14:17:00 Z</pubDate><description>Ericus,&#13;
&#13;
how is opening section of Window1 declared? I guess you have something like&#13;
&#13;
PROCEDURE Window1(LOCAL MyArray is arr…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66602-wd21-passing-array-between-2-windows-nobody-done-66618/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66602-wd21-passing-array-between-2-windows-nobody-done-66618/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66602-wd21-passing-array-between-2-windows/read.awp">[WD21]Passing array between 2 windows</source><title>Re: [WD21]Passing array between 2 windows - Nobody done this?</title></item><item><author>dev_JP</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66602-wd21-passing-array-between-2-windows-66616/read.awp</comments><pubDate>14 Aug 2018 14:01:24 Z</pubDate><description>Peter Holemans wrote: &#13;
&gt; Hi Ericus,&#13;
&gt; &#13;
&gt; Or you could have a class with global members.&#13;
&gt; The global declared members are sh…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66602-wd21-passing-array-between-2-windows-66616/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66602-wd21-passing-array-between-2-windows-66616/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66602-wd21-passing-array-between-2-windows/read.awp">[WD21]Passing array between 2 windows</source><title>Re: [WD21]Passing array between 2 windows</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66602-wd21-passing-array-between-2-windows-nobody-done-66615/read.awp</comments><pubDate>14 Aug 2018 12:01:00 Z</pubDate><description>Hi Ericus,&#13;
&#13;
Or you could have a class with global members.&#13;
The global declared members are shared between all instances of th…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66602-wd21-passing-array-between-2-windows-nobody-done-66615/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66602-wd21-passing-array-between-2-windows-nobody-done-66615/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66602-wd21-passing-array-between-2-windows/read.awp">[WD21]Passing array between 2 windows</source><title>Re: [WD21]Passing array between 2 windows - Nobody done this?</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66602-wd21-passing-array-between-2-windows-nobody-done-66614/read.awp</comments><pubDate>14 Aug 2018 11:34:00 Z</pubDate><description>Thanks Heinz&#13;
&#13;
No idea what a memory zone is but will define the array as a global. However I don't like to overload the global…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66602-wd21-passing-array-between-2-windows-nobody-done-66614/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66602-wd21-passing-array-between-2-windows-nobody-done-66614/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66602-wd21-passing-array-between-2-windows/read.awp">[WD21]Passing array between 2 windows</source><title>Re: [WD21]Passing array between 2 windows - Nobody done this?</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66602-wd21-passing-array-between-2-windows-nobody-done-66613/read.awp</comments><pubDate>14 Aug 2018 11:25:00 Z</pubDate><description>Hi Ericus,&#13;
&#13;
&#13;
i used to do this with memory zones, works perfect.&#13;
&#13;
not tried with arrays, but a simple solution would be to …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66602-wd21-passing-array-between-2-windows-nobody-done-66613/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66602-wd21-passing-array-between-2-windows-nobody-done-66613/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66602-wd21-passing-array-between-2-windows/read.awp">[WD21]Passing array between 2 windows</source><title>Re: [WD21]Passing array between 2 windows - Nobody done this?</title></item><item><author>dev_JP</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66602-wd21-passing-array-between-2-windows-66603/read.awp</comments><pubDate>13 Aug 2018 18:37:20 Z</pubDate><description>Hi Ericus,&#13;
&#13;
You didn't provide how you currently pass the array to the window, but this is how I would do it.&#13;
&#13;
Project Decla…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66602-wd21-passing-array-between-2-windows-66603/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66602-wd21-passing-array-between-2-windows-66603/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/66602-wd21-passing-array-between-2-windows/read.awp">[WD21]Passing array between 2 windows</source><title>Re: [WD21]Passing array between 2 windows</title></item></channel></rss>
