Put a breakpoint on RECNO(tablename) and see where it goes back to the top. Put your code there.
>The AfterOpenTable Event in the .DBC seems to fire *during* the opening of the file, not *after* it.
>
>Try the following:
>
>PROCEDURE dbc_AfterOpenTable(cTableName)
>*After a table or view is opened.
> GO BOTTOM
>ENDPROC
>
>
>When you BROWSE after issuing USE MyDBC.MyFile, you're at the top!
>
>The record pointer does move, however. Try the following:
>
>
>PROCEDURE dbc_AfterOpenTable(cTableName)
>*After a table or view is opened.
> GO BOTTOM
> SUSPEND
>ENDPROC
>
>
>When you suspend, you're at the bottom of the file. After you resume, you're at the top.
>
>I guess what I need is a "CompletelyAfterOpenTable" Event.
>
>Anyone have any ideas on how to achieve this?
>
>- George