The relevant code is below: Private Sub Form_AfterUpdate() I have already used Compact and Repair Database to no avail. I happen to be running this code in a Form.AfterUpdate event, but this error is not specific to a particular form object: it occurs no matter which form I call it from. This error does not occur if passing a long to the SetParameter method. However, whenever I call DoCmd.SetParameter with a string or variant(string) value, I am getting a VBA runtime error 2766 ("object doesn't contain this automation object"). I am trying to call a named data macro from VBA in Microsoft Access 2010.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |