>Why am I getting this error? What else can cause this error?
>
>I am closing my tables and opening them properly. I THINK?!?!
>
>IF !USED('myTable')
> USE myTable IN 0 SHARED
>ENDIF
>
>SELECT myTable
>SET ORDER TO TAG myID
>
>IF USED('myTable')
> USE IN myTable
>ENDIF
>
>Thank you! Thank you very much! (my Elvis impression)
Steve,
I've seen this happen quite a number of times in complex codebook forms with lots of bizness objects on them. Imagine that in Codebook, every bizness object has its own dataenvironment, and does not rely on the standard form dataenv.
The problem had to see with the order in which VFP killed the bizness objects. Imagine you have a combo tied to a table and this table gets closed by one of the dataenv before the combo. I your combo gets the focus for one reason or another it will claim it cannot find the selected table.
There have been several threads about this in the past.
José