<?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 Dec 2009 18:00:11 Z</lastBuildDate><pubDate>10 Oct 2009 01:47:56 Z</pubDate><description>Hi JImbo san, (and Hi You)&#13;
With reference to this discussion :&#13;
http://forum.mysnip.de/read.php?27131,25246&#13;
I have modified your source a bit (will follow) and ATM I think you are wrong :&#13;
&#13;
&#13;
&gt;Therefore, the program would balk at you with an error message if the structure in the analysis doesn't match the physical structure of the data file. BUT: there's virtually no way to know whether the program needs to be updated or the data file has to be restructured! Even worse, I found that data files not always contain the correct generation number but do work together with an analysis of a higher generation number as long as the physical structure fits the structure in the analysis!&#13;
&#13;
&gt;&#13;
I think we can catch error 70016  (THE FILE DOES NOT MATCH ITS DESCRIPTION) -- see yourself :&#13;
&#13;
[code]&#13;
		// Use the same connection for all the data files &#13;
		HChangeConnection( "*", SHARED.gsConnection ) &#13;
				&#13;
		// Open all Files and DO error handling&#13;
		sAllFiles is string = HListFile("","",hLstNormal)&#13;
		sCurrFile is string&#13;
		nErrCode is int&#13;
		&#13;
		FOR EACH STRING sCurrFile OF sAllFiles SEPARATED BY CR&#13;
	&#13;
			WHEN EXCEPTION IN&#13;
				HOpen(sCurrFile)&#13;
				//TRace(sCurrFile)&#13;
			DO&#13;
				ExceptionEnable()	&#13;
		&#13;
			 	nErrCode = ExceptionInfo(errCode)&#13;
				&#13;
				// THE INDEX DOES NOT MATCH THE DATA OR CORRUPTED INDEX&#13;
				IF nErrCode = 70021 _OR_ nErrCode  = 70052 THEN&#13;
					HIndex( sCurrFile, hNdxSilent )&#13;
							&#13;
				// FILE NOT FOUND&#13;
				ELSE IF nErrCode = 70003 THEN  &#13;
					HCreation(sCurrFile)&#13;
				&#13;
				// THE FILE DOES NOT MATCH ITS DESCRIPTION&#13;
				ELSE IF nErrCode = 70016 THEN&#13;
		                       // modify this database table....&#13;
				&#13;
				ELSE    // Remains yet unsolved !!&#13;
					EndProgram( ExceptionInfo(errFullDetails), -1)&#13;
				END&#13;
				&#13;
			END &#13;
		END		&#13;
[/code]&#13;
&#13;
So it seems that we are able to catch structural analysis changes (Error 70016):&#13;
The idea is now ro re-use the cModifyAuto class coming along with the WDSetup example....  but  more in the following  message... (This one is allready too long.&#13;
Björn</description><ttl>30</ttl><generator>WEBDEV</generator><language>en_US</language><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-ping-jimbo-san-hopen-hcreationifnotfound-auto-modify-tables/read.awp</link><title>Ping JImbo san. HOpen() vs HCreationIfNotFound() /auto modify db-tables</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/22144-ping-jimbo-san-hopen-hcreationifnotfound-auto-modify-tables-23329/read.awp</comments><pubDate>20 Dec 2009 18:00:11 Z</pubDate><description>Hi All,&#13;
Great discussion. Two comments:&#13;
1) We always distribute WDMODFIC.exe + required files with our applications. Furthermo…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-ping-jimbo-san-hopen-hcreationifnotfound-auto-modify-tables-23329/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-ping-jimbo-san-hopen-hcreationifnotfound-auto-modify-tables-23329/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-ping-jimbo-san-hopen-hcreationifnotfound-auto-modify-tables/read.awp">Ping JImbo san. HOpen() vs HCreationIfNotFound() /auto modify db-tables</source><title>Re: Ping JImbo san. HOpen() vs HCreationIfNotFound() /auto modify db-tables</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-solution-retrieve-generation-number-from-analysis-23327/read.awp</comments><pubDate>19 Dec 2009 16:12:40 Z</pubDate><description>http://www.windev.at/html/intgennumber.html&#13;
This is not about a new command but it's using the current ..GenerationNumber prope…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-solution-retrieve-generation-number-from-analysis-23327/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-solution-retrieve-generation-number-from-analysis-23327/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-ping-jimbo-san-hopen-hcreationifnotfound-auto-modify-tables/read.awp">Ping JImbo san. HOpen() vs HCreationIfNotFound() /auto modify db-tables</source><title>Solution: Retrieve Generation Number from analysis</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-ping-jimbo-san-hopen-hcreationifnotfound-auto-modify-tables-22392/read.awp</comments><pubDate>22 Oct 2009 11:43:40 Z</pubDate><description>Guenter,&#13;
a second install (with a second, new database) is the same as a first install. &#13;
The tbl_version is newly created and …</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-ping-jimbo-san-hopen-hcreationifnotfound-auto-modify-tables-22392/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-ping-jimbo-san-hopen-hcreationifnotfound-auto-modify-tables-22392/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-ping-jimbo-san-hopen-hcreationifnotfound-auto-modify-tables/read.awp">Ping JImbo san. HOpen() vs HCreationIfNotFound() /auto modify db-tables</source><title>Re: Ping JImbo san. HOpen() vs HCreationIfNotFound() /auto modify db-tables</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-ping-jimbo-san-hopen-hcreationifnotfound-auto-modify-tables-22388/read.awp</comments><pubDate>22 Oct 2009 09:46:03 Z</pubDate><description>Hi Arie,&#13;
what if your customer chooses to install your program a second time? Only way to go: distribute the tbl_version togeth…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-ping-jimbo-san-hopen-hcreationifnotfound-auto-modify-tables-22388/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-ping-jimbo-san-hopen-hcreationifnotfound-auto-modify-tables-22388/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-ping-jimbo-san-hopen-hcreationifnotfound-auto-modify-tables/read.awp">Ping JImbo san. HOpen() vs HCreationIfNotFound() /auto modify db-tables</source><title>Re: Ping JImbo san. HOpen() vs HCreationIfNotFound() /auto modify db-tables</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-ping-jimbo-san-hopen-hcreationifnotfound-auto-modify-tables-22169/read.awp</comments><pubDate>10 Oct 2009 18:12:10 Z</pubDate><description>I always have one file in the project called tbl_version, which has only one field current_version.&#13;
On startup of my exe I read…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-ping-jimbo-san-hopen-hcreationifnotfound-auto-modify-tables-22169/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-ping-jimbo-san-hopen-hcreationifnotfound-auto-modify-tables-22169/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-ping-jimbo-san-hopen-hcreationifnotfound-auto-modify-tables/read.awp">Ping JImbo san. HOpen() vs HCreationIfNotFound() /auto modify db-tables</source><title>Re: Ping JImbo san. HOpen() vs HCreationIfNotFound() /auto modify db-tables</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-ping-jimbo-san-hopen-hcreationifnotfound-auto-modify-tables-22157/read.awp</comments><pubDate>10 Oct 2009 18:10:01 Z</pubDate><description>Hi Bjoern,&#13;
most days I'm out of bed from about 4:00 in the morning. Normally, I have take a nap in the afternoon anyway because…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-ping-jimbo-san-hopen-hcreationifnotfound-auto-modify-tables-22157/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-ping-jimbo-san-hopen-hcreationifnotfound-auto-modify-tables-22157/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-ping-jimbo-san-hopen-hcreationifnotfound-auto-modify-tables/read.awp">Ping JImbo san. HOpen() vs HCreationIfNotFound() /auto modify db-tables</source><title>Re: Ping JImbo san. HOpen() vs HCreationIfNotFound() /auto modify db-tables</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-ping-jimbo-san-hopen-hcreationifnotfound-auto-modify-tables-22156/read.awp</comments><pubDate>10 Oct 2009 18:09:50 Z</pubDate><description>Hi Bjoerno san,&#13;
I think, we don't have a choice here, let's be realistic! We do not re-invent HyperFileSQL, we do not re-invent…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-ping-jimbo-san-hopen-hcreationifnotfound-auto-modify-tables-22156/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-ping-jimbo-san-hopen-hcreationifnotfound-auto-modify-tables-22156/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-ping-jimbo-san-hopen-hcreationifnotfound-auto-modify-tables/read.awp">Ping JImbo san. HOpen() vs HCreationIfNotFound() /auto modify db-tables</source><title>Re: Ping JImbo san. HOpen() vs HCreationIfNotFound() /auto modify db-tables</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-ping-jimbo-san-hopen-hcreationifnotfound-auto-modify-tables-22155/read.awp</comments><pubDate>10 Oct 2009 18:09:25 Z</pubDate><description>Domo Arigato JImbo san,&#13;
As always, I am readong  your comments very! carefully: But atm. it seems that I a'm not able to get it…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-ping-jimbo-san-hopen-hcreationifnotfound-auto-modify-tables-22155/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-ping-jimbo-san-hopen-hcreationifnotfound-auto-modify-tables-22155/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-ping-jimbo-san-hopen-hcreationifnotfound-auto-modify-tables/read.awp">Ping JImbo san. HOpen() vs HCreationIfNotFound() /auto modify db-tables</source><title>Re: Ping JImbo san. HOpen() vs HCreationIfNotFound() /auto modify db-tables</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-ping-jimbo-san-hopen-hcreationifnotfound-auto-modify-tables-22154/read.awp</comments><pubDate>10 Oct 2009 18:09:13 Z</pubDate><description>Jimbo san,&#13;
just this (atm) I don't want to have WDMODFIC.EXE with our Installation. I simply hate black boxes. I prefer program…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-ping-jimbo-san-hopen-hcreationifnotfound-auto-modify-tables-22154/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-ping-jimbo-san-hopen-hcreationifnotfound-auto-modify-tables-22154/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-ping-jimbo-san-hopen-hcreationifnotfound-auto-modify-tables/read.awp">Ping JImbo san. HOpen() vs HCreationIfNotFound() /auto modify db-tables</source><title>Re: Ping JImbo san. HOpen() vs HCreationIfNotFound() /auto modify db-tables</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-ping-jimbo-san-hopen-hcreationifnotfound-auto-modify-tables-22153/read.awp</comments><pubDate>10 Oct 2009 18:09:00 Z</pubDate><description>&gt;Now the questions remains : How to auto-update db-tables which are not in sync with the analysis any more ?&#13;
&#13;
&gt;&#13;
&#13;
&gt;I would li…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-ping-jimbo-san-hopen-hcreationifnotfound-auto-modify-tables-22153/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-ping-jimbo-san-hopen-hcreationifnotfound-auto-modify-tables-22153/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-ping-jimbo-san-hopen-hcreationifnotfound-auto-modify-tables/read.awp">Ping JImbo san. HOpen() vs HCreationIfNotFound() /auto modify db-tables</source><title>Re: Ping JImbo san. HOpen() vs HCreationIfNotFound() /auto modify db-tables</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-ping-jimbo-san-hopen-hcreationifnotfound-auto-modify-tables-22152/read.awp</comments><pubDate>10 Oct 2009 18:08:43 Z</pubDate><description>Hi JImbo san, (and Hi You)&#13;
&#13;
&gt;With reference to this discussion :&#13;
&#13;
&gt;&#13;
&#13;
&gt;http://forum.mysnip.de/read.php?27131,25246&#13;
&#13;
&gt;&#13;
&#13;
…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-ping-jimbo-san-hopen-hcreationifnotfound-auto-modify-tables-22152/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-ping-jimbo-san-hopen-hcreationifnotfound-auto-modify-tables-22152/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-ping-jimbo-san-hopen-hcreationifnotfound-auto-modify-tables/read.awp">Ping JImbo san. HOpen() vs HCreationIfNotFound() /auto modify db-tables</source><title>Re: Ping JImbo san. HOpen() vs HCreationIfNotFound() /auto modify db-tables</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-ping-jimbo-san-hopen-hcreationifnotfound-auto-modify-tables-22145/read.awp</comments><pubDate>10 Oct 2009 01:48:10 Z</pubDate><description>Now the questions remains : How to auto-update db-tables which are not in sync with the analysis any more ?&#13;
I would like to re-…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-ping-jimbo-san-hopen-hcreationifnotfound-auto-modify-tables-22145/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-ping-jimbo-san-hopen-hcreationifnotfound-auto-modify-tables-22145/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-ping-jimbo-san-hopen-hcreationifnotfound-auto-modify-tables/read.awp">Ping JImbo san. HOpen() vs HCreationIfNotFound() /auto modify db-tables</source><title>Re: Ping JImbo san. HOpen() vs HCreationIfNotFound() /auto modify db-tables</title></item><item><author>guest</author><category>pcsoft.us.windev</category><comments>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-ping-jimbo-san-hopen-hcreationifnotfound-auto-modify-tables-22143/read.awp</comments><pubDate>10 Oct 2009 01:47:47 Z</pubDate><description>For a better understanding, or in other words, to  see the whole problematic: Here  the current snippet :&#13;
HFAQL CS, UserGroupwa…</description><guid isPermaLink="true">https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-ping-jimbo-san-hopen-hcreationifnotfound-auto-modify-tables-22143/read.awp</guid><link>https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-ping-jimbo-san-hopen-hcreationifnotfound-auto-modify-tables-22143/read.awp</link><source url="https://forum.pcsoft.fr/es-ES/pcsoft.us.windev/22144-ping-jimbo-san-hopen-hcreationifnotfound-auto-modify-tables/read.awp">Ping JImbo san. HOpen() vs HCreationIfNotFound() /auto modify db-tables</source><title>Re: Ping JImbo san. HOpen() vs HCreationIfNotFound() /auto modify db-tables</title></item></channel></rss>
