Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Strange error
Message
From
17/10/2014 05:32:10
Lutz Scheffler
Lutz Scheffler Software Ingenieurbüro
Dresden, Germany
 
 
To
17/10/2014 03:59:22
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:
01609574
Views:
72
Your code runs as expected wo error .

If you debug at this moment is the alias used?

Some timer kicking in...

Any change on this?
IF !FILE(xlngfile)
 IF USED("language")
  SELECT LANGUAGE
  USE
 ENDIF

 RETURN nesne
ENDIF

IF USED("language")
 SELECT LANGUAGE
 USE
ENDIF
SELECT 0
USE (xlngfile) ALIAS LANGUAGE AGAIN SHARED &&----error occurs at this line
Or ist just your strange inline comment? :)
>Hi All,
>
>This's very strange for me. Occurs sometimes at customers, never happened me or our testers. Just a simple code:
>
>If Used("language")
>	Select Language
>	Use
>Endif
>
>If !File(xlngfile)
>	Return nesne
>Endif
>
>Select 0
>Use (xlngfile) Alias Language Again Shared //----error occurs at this line
>
>this line gives "Alias name is already in use" error. But I close table at the second line. How can this error occurs?
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]
Previous
Reply
Map
View

Click here to load this message in the networking platform