Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange error
Message
From
19/10/2014 22:34:16
 
 
To
19/10/2014 08:42:50
Metin Emre
Ozcom Bilgisayar Ltd.
Istanbul, Turkey
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:
01609645
Views:
48
>>>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... :)

Probably already mentioned, but you also need to watch out for a grid control behavior if you've got a grid -- they could change the current workarea unexpectedly when they get focus..
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform