<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0"><channel><category>pcsoft.us.windev</category><copyright>Copyright 2026, PC SOFT</copyright><lastBuildDate>27 Oct 2016 13:38:00 Z</lastBuildDate><pubDate>25 Oct 2016 11:53:00 Z</pubDate><description>Hi,&#13;
&#13;
I have a procedure called e.g. GP_UpdateSP. This is called from various other places in my system. The procedure currently uses a number of data sources for its reference tables.&#13;
&#13;
The problem I have is that the procedure can be called (indirectly from itself).&#13;
&#13;
Supposing it all starts from another procedure called GP_UpdatePO. This procedure may call GP_UpdateSP. GP_UpdateSP may then call GP_UpdatePO(with different parameters) which may then call GP_UpdateSP.&#13;
&#13;
If this happens then GP_UPdateSP errors because the Data Sources already exist. How can I get around this?&#13;
&#13;
Many thanks&#13;
Reg</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60109-calling-same-global-procedure/read.awp</link><title>re-calling of same Global Procedure</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/60109-calling-same-global-procedure-60143/read.awp</comments><pubDate>27 Oct 2016 13:38:00 Z</pubDate><description>Fabrice, Paulo...&#13;
&#13;
Thanks for the help, sorry I haven't replied earlier. This problem caused me a major issue with a system th…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60109-calling-same-global-procedure-60143/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60109-calling-same-global-procedure-60143/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60109-calling-same-global-procedure/read.awp">re-calling of same Global Procedure</source><title>Re: re-calling of same Global Procedure</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60109-calling-same-global-procedure-60112/read.awp</comments><pubDate>25 Oct 2016 12:19:00 Z</pubDate><description>With recursive code and data source you have a problem.&#13;
&#13;
check the help for Data source (Type of variable) in the Notes sectio…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60109-calling-same-global-procedure-60112/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60109-calling-same-global-procedure-60112/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60109-calling-same-global-procedure/read.awp">re-calling of same Global Procedure</source><title>Re: re-calling of same Global Procedure</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60109-calling-same-global-procedure-60111/read.awp</comments><pubDate>25 Oct 2016 12:15:00 Z</pubDate><description>Hi Reg&#13;
&#13;
my first answer is : DON'T do it&#13;
&#13;
You are in recursive situation, and recursivity is NOT supported in wlanguage... T…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60109-calling-same-global-procedure-60111/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60109-calling-same-global-procedure-60111/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/60109-calling-same-global-procedure/read.awp">re-calling of same Global Procedure</source><title>Re: re-calling of same Global Procedure</title></item></channel></rss>
