Hi Jacques, If t wasn't cause that I knew you were a scilled programmer my guess would be that either the variable atab or the variable nutab were changed in another place in your code .... ?
Even I have sometime in the past - of course decades ago - had trouble with my applications because I wasn't aware of the scope my variables were declared in: Locale, Module or Global. As when I was using a variable that I thought was global, but it turned out that I hadn't included this variable in that module, but I had in stead declared a Module varialbe using the exact same name. I took my quite some time to figure out why the (module) variable kept on staying "empty" even though I had assigned a value to the (global) variable. This was when I saw the great benefits in hungarian notation and naming my variable depending on their scope: nCount Locale Integer mnCount Module Integer gnCount Global Integer HTH, Peter Horsb�ll M�ller GIS Developer COWI A/S Rug�rdsvej 55 DK 5000 Odense C Tel +45 6313 5013 Direct +45 6313 5008 Mobil +45 2270 4308 Fax +45 6313 5090 Kampsax blev i juni 2002 overtaget af COWI. I forbindelse med den igangv�rende integrationsprocess udskiftes vores Kampsax e-mail adresser med COWI e-mail adresser.Hjemmesideadresser forbliver u�ndrede > -----Original Message----- > From: Jacques Paris [mailto:[EMAIL PROTECTED]] > Sent: Tuesday, December 17, 2002 6:19 PM > To: John Schlosser; MIL > Subject: RE: MI-L MB: table not found > > > I work on a network with two PCs and really no server. I did > not figure out what was the real cause but I found a work > around: I put the open table business in a separate > subroutine, and it works. It is the exact same code must not > at the same place > > Why? > > Thanks to all those who replied. > > Jacques Paris > -----Original Message----- > From: John Schlosser [mailto:[EMAIL PROTECTED]] > Sent: December 17, 2002 12:06 > To: 'Jacques Paris' > Subject: RE: MI-L MB: table not found > > If on a network, may be a network issue (connectivity, > permissions, etc.)? -JS > > >---------- > >From: Jacques Paris[SMTP:[EMAIL PROTECTED]] > >Sent: Tuesday, December 17, 2002 4:07 AM > >To: MIL > >Subject: MI-L MB: table not found > > > >I want to open a table in an application with the same syntax I have > >always > >used: > > > > atab=fileopendlg("","","tab","Select points file") > > open table atab as nutab > > > >and I get for the "open table" line an error that atab (in its full > path.TAB > >version) table cannot be found. The path is correct, the > table is there > >and can be open directly from MI with the menu "open table" item. > > > >I have had in the past some instances of "table not found" but I had > >dismissed them as flukes. Today, it is systematic, I cannot open any > >file. > > > >I am using MI/MB 6.5 under W2000 > > > >The only recently changed parameter on my machine is that I have > >installed Norton Systemworks 2002. Could that be the source of the > >problem? But applications previously compiled are working ok. > > > >Jacques Paris > > > > > > > > --------------------------------------------------------------------- > List hosting provided by Directions Magazine | > www.directionsmag.com | To unsubscribe, e-mail: > [EMAIL PROTECTED] > For additional commands, e-mail: > [EMAIL PROTECTED] > Message number: 4581 > --------------------------------------------------------------------- List hosting provided by Directions Magazine | www.directionsmag.com | To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] Message number: 4596
