Hello,
I am getting a frequent error message:
(There is no field named 'Tag Number' in the current record)
I have a form in access 97 a particular button on the form a).prints the current record
b).saves the record
c).goes to the next new record (blank form)
d). Cursor starting point is the field "Tag Number"
Problem is when i press the print button this error message pops up and does not forward to the new record.
The current script for my print button is:
Private Sub Command23_Click()
On Error GoTo Err_Command23_Click
DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70
DoCmd.PrintOut acSelection
DoCmd.GoToRecord , , acNewRec
DoCmd.GoToControl "Tag Number"
Exit_Command23_Click:
Exit Sub
Err_Command23_Click:
MsgBox Err.Description
Resume Exit_Command23_Click
End Sub
I need some help with this as it is confusing to other users and it is plagueing me.
Thanks
csegal@arrowair.com
I am getting a frequent error message:
(There is no field named 'Tag Number' in the current record)
I have a form in access 97 a particular button on the form a).prints the current record
b).saves the record
c).goes to the next new record (blank form)
d). Cursor starting point is the field "Tag Number"
Problem is when i press the print button this error message pops up and does not forward to the new record.
The current script for my print button is:
Private Sub Command23_Click()
On Error GoTo Err_Command23_Click
DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70
DoCmd.PrintOut acSelection
DoCmd.GoToRecord , , acNewRec
DoCmd.GoToControl "Tag Number"
Exit_Command23_Click:
Exit Sub
Err_Command23_Click:
MsgBox Err.Description
Resume Exit_Command23_Click
End Sub
I need some help with this as it is confusing to other users and it is plagueing me.
Thanks
csegal@arrowair.com