Hi
From examples in this forum, I have used the following code several times under a command button:
Email.HyperlinkAddress = "mailto:" + EmailWork
to successfully open an email in Outlook ready to complete the other fields (Subject and Body etc).
I used the same code in a new database (still Access 2007) and get a message "Object required". The only difference between the two databases is that the button on the second database is on a subform under one of four Tabs.
Can anyone assist with an explanation regarding the meaning of Object required and do I need to identify the subform in the coding?
TIA
From examples in this forum, I have used the following code several times under a command button:
Email.HyperlinkAddress = "mailto:" + EmailWork
to successfully open an email in Outlook ready to complete the other fields (Subject and Body etc).
I used the same code in a new database (still Access 2007) and get a message "Object required". The only difference between the two databases is that the button on the second database is on a subform under one of four Tabs.
Can anyone assist with an explanation regarding the meaning of Object required and do I need to identify the subform in the coding?
TIA