![]() | |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I am just making the move from A2K to A2010 (or A2KX ?); missed out all the intervening steps. Have been exploring it for a few days now. Have sorted out a few things like finding the navigation pane instead of the database window; although why I need to quit and restart the database when I want to display or hide it is irritating!! I may be posting a few questions as I get further on but for the moment I have one about the double click event: In a form I have many text boxes all with the same Double Click action. In the properties of each textbox, against the On Double Click event, I have =[viewEntry]. ViewEntry is a public sub in the code module of that form. This works perfectly well in A2K but gives an error in A2010: "the expression On Dbl Click you entered as the event property setting produced the following error: The object doesn't contain the Automation object 'viewEntry' * the expression may not result in the name of a macro, the name of a user-defined function, or [Event Procedure]" The help system seems to suggest that A2010 handles it the same as before. Any advice would be welcome. |
#3
| |||
| |||
|
|
The help system seems to suggest that A2010 handles it the same as before. *Any advice would be welcome. |
#4
| |||
| |||
|
|
"Jim Devenish" <internet.shopp... (AT) foobox (DOT) com> wrote in message news:4bd47bd4-9c83-460c-b874-c635298f3a86 (AT) c10g2000vbv (DOT) googlegroups.com... I am just making the move from A2K to A2010 *(or A2KX ?); missed out all the intervening steps. Have been exploring it for a few days now. Have sorted out a few things like finding the navigation pane instead of the database window; although why I need to quit and restart the database when I want to display or hide it is irritating!! I may be posting a few questions as I get further on but for the moment I have one about the double click event: In a form I have many text boxes all with the same Double Click action. *In the properties of each textbox, against the On Double Click event, I have =[viewEntry]. *ViewEntry is a public sub in the code module of that form. This works perfectly well in A2K but gives an error in A2010: "the expression On Dbl Click you entered as the event property setting produced the following error: The object doesn't contain the Automation object 'viewEntry' * the expression may not result in the name of a macro, the name of a user-defined function, or [Event Procedure]" The help system seems to suggest that A2010 handles it the same as before. *Any advice would be welcome. Convert the sub into a function. Then it's something that Access can evaluate. |
#5
| |||
| |||
|
|
On Feb 7, 6:25 pm, "Stuart McCall" <smcc... (AT) myunrealbox (DOT) com> wrote: "Jim Devenish" <internet.shopp... (AT) foobox (DOT) com> wrote in message news:4bd47bd4-9c83-460c-b874-c635298f3a86 (AT) c10g2000vbv (DOT) googlegroups.com... I am just making the move from A2K to A2010 (or A2KX ?); missed out all the intervening steps. Have been exploring it for a few days now. Have sorted out a few things like finding the navigation pane instead of the database window; although why I need to quit and restart the database when I want to display or hide it is irritating!! I may be posting a few questions as I get further on but for the moment I have one about the double click event: In a form I have many text boxes all with the same Double Click action. In the properties of each textbox, against the On Double Click event, I have =[viewEntry]. ViewEntry is a public sub in the code module of that form. This works perfectly well in A2K but gives an error in A2010: "the expression On Dbl Click you entered as the event property setting produced the following error: The object doesn't contain the Automation object 'viewEntry' * the expression may not result in the name of a macro, the name of a user-defined function, or [Event Procedure]" The help system seems to suggest that A2010 handles it the same as before. Any advice would be welcome. Convert the sub into a function. Then it's something that Access can evaluate. I was very hopeful with that suggestion but I still get the same error. Any other ideas? |
#6
| |||
| |||
|
|
Jim Devenish wrote: On Feb 7, 6:25 pm, "Stuart McCall" <smcc... (AT) myunrealbox (DOT) com> wrote: "Jim Devenish" <internet.shopp... (AT) foobox (DOT) com> wrote in message news:4bd47bd4-9c83-460c-b874-c635298f3a86 (AT) c10g2000vbv (DOT) googlegroups.com.... I am just making the move from A2K to A2010 *(or A2KX ?); missed out all the intervening steps. Have been exploring it for a few days now. Have sorted out a few things like finding the navigation pane instead of the database window; although why I need to quit and restart the database when I want to display or hide it is irritating!! I may be posting a few questions as I get further on but for the moment I have one about the double click event: In a form I have many text boxes all with the same Double Click action. *In the properties of each textbox, against the On Double Click event, I have =[viewEntry]. *ViewEntry is a public sub in the code module of that form. This works perfectly well in A2K but gives an error in A2010: "the expression On Dbl Click you entered as the event property setting produced the following error: The object doesn't contain the Automation object 'viewEntry' * the expression may not result in the name of a macro, the name of a user-defined function, or [Event Procedure]" The help system seems to suggest that A2010 handles it the same as before. *Any advice would be welcome. Convert the sub into a function. Then it's something that Access can evaluate. I was very hopeful with that suggestion but I still get the same error. Any other ideas? Wouldn't * * * * =ViewEntry() work instead of * * * * =[ViewEntry] |
![]() |
| Thread Tools | |
| Display Modes | |
| |