M
Mark
IT Pro's,
I installed SP3 on the office suite and found that the
standard code to delete a record generates an error
message. When one is on the last record of a form, and
uses the DoMenuItem cmd, a 3021 runtime error is
generated. If one is not on the last record but
answers "No" to the message box "You are about to delete
1 record" the same error gets generated.
The code:
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, ,
acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 6, ,
acMenuVer70
The last line fails with a "No current record" error.
This is only happened after the installation of Service
Pack 3. Does anyone have any suggestions of why or can
offer a strategy for a solution?
Thanks for any help,
Mark Miller
(e-mail address removed)
I installed SP3 on the office suite and found that the
standard code to delete a record generates an error
message. When one is on the last record of a form, and
uses the DoMenuItem cmd, a 3021 runtime error is
generated. If one is not on the last record but
answers "No" to the message box "You are about to delete
1 record" the same error gets generated.
The code:
DoCmd.DoMenuItem acFormBar, acEditMenu, 8, ,
acMenuVer70
DoCmd.DoMenuItem acFormBar, acEditMenu, 6, ,
acMenuVer70
The last line fails with a "No current record" error.
This is only happened after the installation of Service
Pack 3. Does anyone have any suggestions of why or can
offer a strategy for a solution?
Thanks for any help,
Mark Miller
(e-mail address removed)