Hi,
I have a button in form for saving record but seems not to work because i click save but doesn't show the record i click next and then back still not save.
here it's the code:
I have a button in form for saving record but seems not to work because i click save but doesn't show the record i click next and then back still not save.
here it's the code:
Code:
On Error GoTo Err_Command118_Click
DoCmd.DoMenuItem acFormBar, acRecordsMenu, acSaveRecord, , acMenuVer70
Me.Company.SetFocus
Exit_Command118_Click:
Exit Sub
Err_Command118_Click:
MsgBox Err.Description
Resume Exit_Command118_Click