Check out the database events. You can put code in the DBC that will only allow tables to be opend if a certian condition exists, such as a global variable you create and initialize at the beginning of your program.
>Hello all
>
>How can i restrict the user from getting to the database from foxpro,i want them to use the application to make any changes.
>
>txs