J Jaye7 Registered User. Local time Today, 19:35 Joined Aug 19, 2014 Messages 205 May 25, 2016 #1 I have been searching for a script to delete a form from another password protected database and I have found scripts to delete tables but not forms.
I have been searching for a script to delete a form from another password protected database and I have found scripts to delete tables but not forms.
J Jaye7 Registered User. Local time Today, 19:35 Joined Aug 19, 2014 Messages 205 May 25, 2016 #2 I have the following script which works if the database is open, but if it's closed then I need my password. Code: Dim objAcc As Access.Application Set objAcc = GetObject("X:\Test1.mdb") objAcc.DoCmd.DeleteObject acForm, "frm_Utilities"
I have the following script which works if the database is open, but if it's closed then I need my password. Code: Dim objAcc As Access.Application Set objAcc = GetObject("X:\Test1.mdb") objAcc.DoCmd.DeleteObject acForm, "frm_Utilities"
bob fitz AWF VIP Local time Today, 10:35 Joined May 23, 2011 Messages 4,806 May 25, 2016 #3 Jaye7 said: I have been searching for a script to delete a form from another password protected database and I have found scripts to delete tables but not forms. Click to expand... Just curious. Why would you want to delete a form with code rather than doing it manually.
Jaye7 said: I have been searching for a script to delete a form from another password protected database and I have found scripts to delete tables but not forms. Click to expand... Just curious. Why would you want to delete a form with code rather than doing it manually.
J Jaye7 Registered User. Local time Today, 19:35 Joined Aug 19, 2014 Messages 205 May 25, 2016 #4 Because I am going to delete numerous forms from up to a dozen different databases, when you have code you don't have to do things manually, I would have my car drive me to work if I could write code to make it do it.
Because I am going to delete numerous forms from up to a dozen different databases, when you have code you don't have to do things manually, I would have my car drive me to work if I could write code to make it do it.