Compile error:
Wrong number of arguments or invalid property assignment
Wrong number of arguments or invalid property assignment
Notice: This website is an unofficial Microsoft Knowledge Base (hereinafter KB) archive and is intended to provide a reliable access to deleted content from Microsoft KB. All KB articles are owned by Microsoft Corporation. Read full disclaimer for more details.
View products that this article applies to.
Option Compare Database
Option Explicit
Sub Test()
DoCmd.OpenForm "Customers"
DoCmd.ApplyFilter , "Country = 'USA'"
End Sub
DoCmd.ApplyFilter , "Country = 'USA'"
DoCmd.ApplyFilter , "Country = 'USA'", acFilterNormal
Keywords: KB228641, kbdocerr, kbdta, kbbug, kberrmsg