>I insert command OPEN DATABASE in the top of the code
>
>Looks like the problem desapeared
>
>Is this command relevant for the reported problem ?
I didn't look too close to your code, but I think
use in select('myAlias')
select 0
use myTable shared alias myAlias
should always work.
If it's not broken, fix it until it is.
My Blog