Hello;
Function Edit_Members()
DoCmd.OpenQuery "qry_members", acNormal, acEdit
End Function
TIA.
- I have a table that contains members (tbl_members). In this table I have a field for member ID (memid).
- I have a query (qry_members) based on the table. The query has parameters on the memid field so I can query for members by member ID.
- On the switchboard I reference the below function on a module (mod_common).
Function Edit_Members()
DoCmd.OpenQuery "qry_members", acNormal, acEdit
End Function
- When I click on Edit Members on the switchboard and enter a member ID, or even leave the parameter dialogue blank, and click "OK", the qeuery runs fine, giving me the appropriate member records, or none when I leave the paramters blank.
- However once the parameters dialogue box appears; if I click "Cancel", I get Microsoft Visual Basis message "Run Time Error '3270'; property not found": "Continue" (disabled), "End" (enabled), "Debug" (Enabled, default), "Help" (Enabled).
TIA.
Last edited: