SoulBrutha23
Technical User
Here is the situation. I have a form that calculates data from text box to text box. At the bottom of the form, it has a totals text box that gives a total score. Next to that, I have a command button that will run a new record procedure. I would like to add some macros that will run some queries that I have built into this procedure, i.e. append queries. What is the order within this procedure that I should throw script into and how would I write these macros into the script?
Private Sub CmdNewWeek_Click()
On Error GoTo Err_CmdNewWeek_Click
DoCmd.GoToRecord , , acNewRec
Exit_CmdNewWeek_Click:
Exit Sub
Err_CmdNewWeek_Click:
MsgBox Err.Description
Resume Exit_CmdNewWeek_Click
Thanks for your help.
Rod (SoulBrutha23)
Private Sub CmdNewWeek_Click()
On Error GoTo Err_CmdNewWeek_Click
DoCmd.GoToRecord , , acNewRec
Exit_CmdNewWeek_Click:
Exit Sub
Err_CmdNewWeek_Click:
MsgBox Err.Description
Resume Exit_CmdNewWeek_Click
Thanks for your help.
Rod (SoulBrutha23)