>>>>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
>>>
>>
>>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 ...
I'll run timers between these codes for test... :)