(This is also posted on another Access forum)
I have created three switchboards (created using Access 2013) for use with a database that previously worked as expected but now some of the choices are giving me the following error message: "An expression in argument 3 has an invalid value."
I had these switchboards working in a test DB and, as they all were working as expected, exported them to the production DB. It is in the production DB that they are giving this message.
The structure of the three switchboards is: switchboard1 is for administrators/Dept heads and consists of choices to launch the other two switchboards and choices only for admins. Switchboard 2 is for authorized office users and consists of choices pertaining only to their department. Finally, switchboard 3 is for the shipping/receiving department and, like the office users, contains only choices for those authorized in that department.
The menu choices that are generating this message seem to be one of two types:
1) Going to a different switchboard (a command "1" in the switchboard table leading to a correct switchboard #, item# 0, command# 0 in the table) OR
2) Opening a form in either add or edit mode (command 2 or 3 in the switchboard table).
I have visually traced all the switchboard numbers, item numbers and commands in the switchboard table and they all check out OK. I have checked the forms for proper record sources and they all check out OK.
My questions is: where do I find this argument 3 the error message refers to so I can see what expression has the invalid value? I don't believe it is referring to the argument column in the related switchboard table.
Any help is welcomed and appreciated....
John
(Hoping Jeff Conrad will be among those who reply as I'm using a book he wrote )
I have created three switchboards (created using Access 2013) for use with a database that previously worked as expected but now some of the choices are giving me the following error message: "An expression in argument 3 has an invalid value."
I had these switchboards working in a test DB and, as they all were working as expected, exported them to the production DB. It is in the production DB that they are giving this message.
The structure of the three switchboards is: switchboard1 is for administrators/Dept heads and consists of choices to launch the other two switchboards and choices only for admins. Switchboard 2 is for authorized office users and consists of choices pertaining only to their department. Finally, switchboard 3 is for the shipping/receiving department and, like the office users, contains only choices for those authorized in that department.
The menu choices that are generating this message seem to be one of two types:
1) Going to a different switchboard (a command "1" in the switchboard table leading to a correct switchboard #, item# 0, command# 0 in the table) OR
2) Opening a form in either add or edit mode (command 2 or 3 in the switchboard table).
I have visually traced all the switchboard numbers, item numbers and commands in the switchboard table and they all check out OK. I have checked the forms for proper record sources and they all check out OK.
My questions is: where do I find this argument 3 the error message refers to so I can see what expression has the invalid value? I don't believe it is referring to the argument column in the related switchboard table.
Any help is welcomed and appreciated....
John
(Hoping Jeff Conrad will be among those who reply as I'm using a book he wrote )