Steve,
Where does the error occur? I suspect that one of you controls is having fits binding to an unopened table.
1) Why not just drop the table into the DE? Free tables work in there too.
2) If you like typing code, move the code you have to the Form.Load() method that way the table will be there for the controls as the construct.
>How can this error happen?
>
>Alias 'mytable' is not found.
>
>No tables in my Data Environment.
>Mytable is a Free Table inside my MYPROJECT.
>
>I read that for Free Tables, the Alias is the FILE.DBF name. So I thought that's what I was doing with the following. The filename is MYTABLE.DBF. And here is the code that I am using.
>I have a Form and in the Form Init is:
>
>SET EXCLUSIVE OFF
>USE mytable IN 0 SHARED
>...
>...
>SELECT mytable
>SET ORDER TO myid
>
>Thanks for your help. This seems like a no-brainer to me, but I must be the no-brainer on this one.