To alter the table the file must be opened exclusively yours is not.
>Hi all
>
>VFP not allowing me the last line of the following code (message 'File must to be o[en exclusive'):
>
if used ('logs1')
>use in logs1
>endif
>use log again in 0 alias logs1
>use(dbf('logs1')) in 0 again alias ddde
>use in logs1
>use (dbf('ddde')) in 0 again alias logs1
>use in ddde
>alter table logs1 add column schoolname c(3)
.
>I used to use withis way, what happened now?
>Thank you
Caroline