>Is it just my computer or does this produce a problem on your computer too?
>To see full problem:
>Make sure Table1 has records in it.
>Make sure Table2 has records in it and indexes.
>
>
>PROCEDURE dbc_BeforeOpenTable(cTableName)
> *Just before a table or view is opened. Return .F. to prevent table or view being opened.
>
> IF LOWER(cTableName) = 'test'
> IF !USED('Table1')
> USE Table1 IN 0 AGAIN
> ENDIF
> ENDIF
>
>ENDPROC
>
>CREATE sql view test ;
> as ;
> select * ;
> from Table2
>
>USE test NODATA
>
>
>Now look in the DATA SESSION WINDOW and see if Test and Table2 are somehow linked together.
>Click on Test and Table2 gets highlighted also.
>Click on Table2 and Test gets highlighted also.
>Browse either Test or Table2 and there are no records in either.
>Look at PROPERTIES of Table2 and there are no indexes.
Just discovered this also:
USE test
Then browse Table2, it browses Test or Table1
Bill Morris