0
DoCmd.SetWarnings (WarningsOff)

DoCmd.GoToControl ("txtVisitorLastName")
SendKeys "-"
Me.Dirty = False
Pause 250

DoCmd.RunMacro ("DeleteCurrentRecord") <--- Error here

Pause 250

DoCmd.Close

DoCmd.OpenForm ("LanguageSelection")

DoCmd.SetWarnings (WarningsOn)

这是在 Access 2016 项目中的 VBA 中。不知道我能做些什么。任何帮助都会很棒。

有关错误的其他信息

它说参数 223

4

0 回答 0