>Thanks both Mike and Victor,
>
>My code is this:
> IF !USED("PERATEDT")
> USE PERATEDT.DBF
> ENDIF
>it's an old code and it always worked before, I suppose I never encounter the condition where the table was not opened.
>
>If I understand correctly this will work, and the table will be open in the same datasession I'm in.
> IF !USED("PERATEDT")
> USE PERATEDT.DBF IN 0
> ENDIF
>Thanks.
yes that will work.
ICQ 10556 (ya), 254117