I am trying to add some default text into the Description field in the Defect Module and have added the following into the Bug_New subfunction. However this function does not seem to get invoked while clicking the New Defect button. Any clues?
See below the function. I have tried adding some msgbox alerts to see if the function is being invoked however these alerts do not appear
Sub Bug_New
On Error Resume Next
msgbox 1
Bug_Fields("BG_DESCRIPTION").value = _
"<html><body><b>Issue Details:<br /><br /></b>" & _
"<html><body><b>Business Impact:<br /><br /></b>" & _
"<html><body><b>Expected Behaviour:<br /></b>"
WizardFieldCust_Add ' Added by wizard
PrintError "Bug_New"
On Error GoTo 0
End Sub
The msgbox 1 alert never appears and the Description field does contain the modified string