Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange error
Message
From
22/10/2014 11:15:47
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
 
To
22/10/2014 10:43:13
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Environment versions
Visual FoxPro:
VFP 9 SP2
OS:
Windows Server 2012
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01609570
Message ID:
01609764
Views:
44
>>>>...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...)

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform