I was following the details in the original message up until he recommended using a vb application to use shell to launch the Access application.  I've tried & tried to get shell to work with an Access 2007 database that's been encrypted but I've had absolutely no luck so I ended up using the OpenDatabase method on a dao.DBEngine object.   The problem I'm having is that I've added some code to one of my Access forms' on error event to let the user know which field has a duplicate value.  If I run the database directly, the error event is raised and I trap it properly.  However, if I run the database through my vb application, the event isn't raised (or at least I don't get to the on error event for the form since I've added a msgbox that's supposed to be displayed first thing and its never shown)
 
Any thoughts/recommendations?
 
Thanks
Lution
 Any thoughts/recommendations?
Thanks
Lution