I have taken the spaces from all my Forms.
But when i click on the Command Button to go to the Owner Form, it says that it does not exist. Used to be "Owner Form" now it is "OwnerForm".
It seems the code in the Event Procedure did not update when i changed the name of
the Form. So i would have to recreate all the Command Buttons again?
Do you think I can expect many other things I will need to re-create?
Quote:
Private Sub Goto_Owner_Form_Click()
On Error GoTo Err_Goto_Owner_Form_Click
Dim stDocName As String
Dim stLinkCriteria As String
stDocName = "Owner Form"
DoCmd.OpenForm stDocName, , , stLinkCriteria
Exit_Goto_Owner_Form_Click:
Exit Sub
Err_Goto_Owner_Form_Click:
MsgBox Err.Description
Resume Exit_Goto_Owner_Form_Click
|