What I'm trying to accomplish is either:
1. Modify the vb button text; or
2. Create a form that mimics the vb message box
On Transmittal_Log1, the button under the label "Clear" has the vbYesNo message box. I have made the necessary code adjustments to accomplish the tasks I want to happen, but I would prefer the message box button text to be: Clear "Sent" and Clear "Conf", respectively. I read on another forum of a Class module capable of doing this, but couldn't figure out how to call the sub routine within the Class.
As an alternative to above, I tried creating a form with two buttons, with the desired text on the buttons, but for the life of me I can't figure out how (if at all possible) to make the on click event for 'Clear "Sent"' point back to Transmittal_Log1, and then make this happen:
Code:
Me.GraphicStatusID = conClearWhite
Me.Date_Fwd_to_PPSO = Null
DoCmd.RunCommand acCmdSaveRecord
and likewise for 'Clear "Conf"'
Code:
Me.GraphicStatusID = conSentYellow
Me.Date_JPPSO_Rcvd = Null
DoCmd.RunCommand acCmdSaveRecord
Thoughts?