>Hello > >How can I know if table is open so I can avoid the error when I open the table exclusive. > >using vfp5 > >Thanks
cError=on("error")
onerror lErrorflag=.t.
use mytable exclusiveonerror &cError.
if lErrorflag=.t.
=messagebox("Cannot Open Table Exclusively")
returnendif