>Dragan
>
>please explain to me
>
>I have myTable1 (id i, name c(10), adres m)
>
>select myTable1
>copy struc extended to myTable1.xyz
Here you get "File is not open." error. It's trying to create mytable1.fpt, which already exists and is open by your own process. This is where you're trying to have two instances of the same file, and Fox won't let you.
>create myTable2 from myTable1.xyz
>
>I end up with myTable2 (id i, name c(10), adres m)
Are you sure? I just pasted what you wrote here (replaced "I have" with "create table") and I got the error. Besides, try to open mytable1.dbf and mytable1.xyz now, and see which one of them owns mytable1.fpt.