Hi Ron,
The SET EXCLUSIVE (as many other SET commands) is scoped to a datasession. You know better what you change that could affect on it bur it wasn't switching to free tables.
Also, VFP IDE stores all the SETtings in the registry and reads them every time you start VFP. The runtime does not use them. To match IDE environment you have to add those SET commands to your application taking into account their scope.
>You are the greatest. Sometimes the simplest solution is the best.
>
>I don't know why I needed to add the set exclusive off, but it worked. Might have been due to me removing the database container and using free tables.
>
>Thanks again
>
>Ron
--sb--