Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Strange error
Message
De
22/10/2014 11:17:38
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Allemagne
 
 
À
22/10/2014 11:15:47
Dragan Nedeljkovich
Now officially retired
Zrenjanin, Serbia
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:
01609765
Vues:
43
>>>>>...and let me give it a try with this. Suggesting this reshuffle of code:
>>>>>
>>>>>
SET ASSERTS ON
>>>>>use in select("language")
>>>>>
>>>>>If !File(xlngfile)
>>>>>	Return nesne
>>>>>Endif
>>>>>
>>>>>select 0
>>>>>Use (xlngfile) Alias Language Again Shared //----error occurs at this line
>>>>>
>>>>>Also, is it possible that the file is in exclusive use in another datasession? I know that normally that would cause a different error, but we're already long way from normal.
>>>>
>>>>That or similar (other process what ever, file locking no read access ...) was the idea behind my number 7
>>>
>>>I felt the deja vu watching over my shoulder, but I told it to shut up. Even if he's right, we're dancing the 2nd round already... so maybe one of the combinations will hit it.
>>
>>It's still the same thread and it's not solved so I have a bit more patience.
>>I will not say something bad, but there is an other thread active I will stop to answer the same stuff to 5th time ...
>
>Actually I jumped in mostly to show off the elegance of
>
use in select("language")
>Which will close the alias or do nothing if it wasn't open, thus skipping the "if used(..." check. When I saw that for the first time and understood what it does (and how), believe me, I had a smile on my face. (of course you believe me - had I said I had the smile somebody else's face, or elbow, that would be harder to believe...)

It needs me several minutes to figure out why it should work that way .... Had a smile myself. :)
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
Répondre
Fil
Voir

Click here to load this message in the networking platform