PROCEDURE dbc_BeforeOpenTable(cTableName) * Just before a table or view is opened. * Return .F. to prevent table or view being opened. if version(2) <> 2 AND vartype(goApp) <> "O" return .f. endif ENDPROCWhen you launch your app, make sure you create an object called goApp. Excel and any other software will now not be able to open tables. I added the VERSION(2) to the IF so you can open tables at design time withoug having to create the goApp object.