I normaly do the following code:
VB Code:
  1. Set FSys = New FileSystemObject
  2. If gstrDBLoc = "" Then gstrDBLoc = App.Path
  3. If gstrDBName <> "" And FSys.FileExists(gstrDBLoc & "\" & gstrDBName) Then
  4.     OpenDB
  5. Else
  6.     fDBLoc.Show
  7.     Exit Sub
  8. End If
  9.  
  10. If Not FSys Is Nothing Then Set FSys = Nothing

If the database is not there I open a form and allow the user to point me to the new database location. Altough I do not use the data controls you can just exit out with a message if the database is required to be in a specific place.