T
Tony Williams
I have a form that has a tick box control which opens Outlook and carries
data from my database to a new email message. I am having problems capturing
a control on a subform to go on the email. All the other controls appear.
Here is my code for the email body
oM.Body = "Please upload this document to Online " & vbCrLf & vbCrLf _
& "Document Number: " & Me.Docnumtxt & vbCrLf _
& "Document Name: " & Me.DocNametxt & vbCrLf _
& "Author: " & " " & Me.DocAuthortxt & vbCrLf _
& "Document URL: " & " " & Me.DocURLtxt & vbCrLf _
& "Document Description: " & " " & Me.MemDocDesctxt & vbCrLf _
& "Group: " & " " & [Forms].[frmGroupListsnewsubform].[CommNametxt]
It's the last linethat is causing the problem. I get a message to say that
Access can't find the form?
I've tried ! instead of full stops and added the main form name first but no
luck.
The error message I get also is "Error 438 Object doesn't support this
property or method"
Anyone help here?
TIA
Tony Williams
PS I think it's time I asked other newbies like me to give a huge round of
applause for the guys that help us on here. I've posted dozens of questions
and nearly always got an answr, an unbelievable resource!!!!
data from my database to a new email message. I am having problems capturing
a control on a subform to go on the email. All the other controls appear.
Here is my code for the email body
oM.Body = "Please upload this document to Online " & vbCrLf & vbCrLf _
& "Document Number: " & Me.Docnumtxt & vbCrLf _
& "Document Name: " & Me.DocNametxt & vbCrLf _
& "Author: " & " " & Me.DocAuthortxt & vbCrLf _
& "Document URL: " & " " & Me.DocURLtxt & vbCrLf _
& "Document Description: " & " " & Me.MemDocDesctxt & vbCrLf _
& "Group: " & " " & [Forms].[frmGroupListsnewsubform].[CommNametxt]
It's the last linethat is causing the problem. I get a message to say that
Access can't find the form?
I've tried ! instead of full stops and added the main form name first but no
luck.
The error message I get also is "Error 438 Object doesn't support this
property or method"
Anyone help here?
TIA
Tony Williams
PS I think it's time I asked other newbies like me to give a huge round of
applause for the guys that help us on here. I've posted dozens of questions
and nearly always got an answr, an unbelievable resource!!!!