>Nadya,
>
>Just looked for less than 10 secs at the code;
>What about USE
AGAIN IN 0
EXCLUSIVE>I wonder whether this is allowed;
>So, I myself never use the AGAIN, but I would say that having the one app (Datasession) using a table twice and one of them exclusive, is asking for trouble because nothing may anticipate on these kind of locking issues (while it will in separate tasks or datasessions).
>
>But again, I never use this, so maybe I'm just completely wrong at this.
>
>Peter
No, that's not it. For unknown reason the ALTER string became garbled, as Dragan identified. It happened in both VFP6.0 and VFP7.0, so it could be considered as a strange bug, which I probably have to submit. Dragan also suggested a workaround: instead of using macro generate prg on the fly and execute it. This seems to resolve the crash problem.
If it's not broken, fix it until it is.
My Blog