Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange error
Message
De
19/10/2014 09:55:27
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
19/10/2014 08:42:50
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turquie
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01609570
Message ID:
01609622
Vues:
49
>>>Hi All,
>>>
>>>This's very strange for me. Occurs sometimes at customers, never happened me or our testers. Just a simple code:
>>
>>>this line gives "Alias name is already in use" error. But I close table at the second line. How can this error occurs?
>>
>>Other than what Lutz said about a timer, I think your code should run just fine, you could simplify it thou, and because you would be closing it (if necessary) and opening it in the same sentence this might help, as it will not be interrupted by a timer, AFAIK
>>
>>
>>
>>If !File(xlngfile)
>>	Return nesne
>>Endif
>>
>>Use (xlngfile) Alias Language Again Shared in Select('Language')
>>select Language && if you need Language to be the current selected table
>>
>
>Yes, there's a timer but there isn't any code about this table in timer. I'll turn off timer during this method and add your code. Thanks both of you, I didn't suspected about timer (however yet can't, because there isn't any code about this table at timer) and using of USE command I never thought. in select("language"), if it doesn't in use, it makes select 0, that's smart Hugo... :)

I first misread it, and then I found it real clever to. :)

Anyway, try I woulf figure out what reuses the alias

try something like Select('Language') in debugers watch window and set a breakpoint to it. Singlestep slow through your code ...
Words are given to man to enable him to conceal his true feelings.
Charles Maurice de Talleyrand-Périgord

Weeks of programming can save you hours of planning.

Off

There is no place like [::1]
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform