sirantonycartwr
Registered User.
- Local time
- Yesterday, 16:08
- Joined
- Dec 10, 2006
- Messages
- 45
This code has been put into my database a few times, i dont know what it is. It never seems to be called, ever. I commented it out and put a messagebox there to tell me when its called. My buttons are always called btnDoThis, etc not command 12. I dont know why its in there but obviously it opens one of my forms for some reason! Does anyone know why its in here? Can i get rid of it?
Ant...
Code:
Private Sub Command12_Click()
MsgBox "Error in members persons names", , "Unknown Error 6"
'on Error GoTo Err_Command12_Click
'
' Dim stDocName As String
' Dim stLinkCriteria As String
'
' stDocName = "frmStakeholdersMembersSkills"
'
' stLinkCriteria = "[Person ID]=" & Me![PersonID]
' DoCmd.OpenForm stDocName, , , stLinkCriteria
'
'Exit_Command12_Click:
' Exit Sub
'
'Err_Command12_Click:
' MsgBox Err.Description
' Resume Exit_Command12_Click
Ant...