Hi,
i want to be able to open a query by using the 'On dbl Click'event on a form.
The command I have used is this:
DoCmd.OpenQuery "Accounts_1_StoreOS", , , , "RecordID=" & Me.RecordID
As a test If I use
oCmd.Openform "Accounts_1", , , , "RecordID=" & Me.RecordID it will open a form.
Is it possible to open the query using th same method. The query is an append query.
When I try to open the query in this way I get an error; Compile error: Wrong number of arguments or invalid property assignment
many thanks
KP
i want to be able to open a query by using the 'On dbl Click'event on a form.
The command I have used is this:
DoCmd.OpenQuery "Accounts_1_StoreOS", , , , "RecordID=" & Me.RecordID
As a test If I use
Is it possible to open the query using th same method. The query is an append query.
When I try to open the query in this way I get an error; Compile error: Wrong number of arguments or invalid property assignment
many thanks
KP