Jeff,
You've suggested a macro, would you mind assisting with a format. Below is the info I have so far..
assuming the sSql are:
strSQL1 = "UPDATE tblSecurity SET Password = ..........................
strSQL2 = "UPDATE tblPasswords_old SEY Password= ..........................
strSQL3 = Cal some function......
and...the code on my mind...to connect to the external db..
Function ConnectDB()
Dim strDB As String
Dim qry1 As DAO.QueryDef
Const strConPath = "C:\Documents and Settings\Bill\Desktop\"
strDB = strConPath & "KCombo.mdb"
Set appaccess = CreateObject("Access.Appli
appaccess.OpenCurrentDatab
appaccess.Visible = False
Note: ... how do I launch "Shell".... /x macroname" ' <<<<<<<<------------- Take note
' ..........................
' ..........................
End Function
' ************
Regards
Bill
Main Topics
Browse All Topics





by: jefftwilleyPosted on 2006-06-11 at 07:15:32ID: 16880966
Create a macro inside your database before you create it as a .mde. Have this macro run a query that sets your passwords to a recovery set of user IDs and passwords. Then simply call this from a shell passing the backdoor userID and password and execute the macro.
XE c:\yourfile.mdb /x macroname"
Shell "C:\Program Files\Microsoft Office\Office10\MSACCESS.E
Worth a shot!
J