Hi all,
I'm looking to reference to fields on a form when sending an email using code.
One field works fine once it has the focus but then trying to reference the second field I run into problems.
I could create another text box on the form and allow it's value to equal the two values of the other two fields, basically concatonate the two fields into one and then refer to that one field in my email code.
That option seems little messy but it will work.
Does anyone have any suggestions for a snazzy bit of code!!
Current Code
Field1.SetFocus
stSubject = "Email Send Test:- " & Field1.Text
Cheers
LarryB
I'm looking to reference to fields on a form when sending an email using code.
One field works fine once it has the focus but then trying to reference the second field I run into problems.
I could create another text box on the form and allow it's value to equal the two values of the other two fields, basically concatonate the two fields into one and then refer to that one field in my email code.
That option seems little messy but it will work.
Does anyone have any suggestions for a snazzy bit of code!!
Current Code
Field1.SetFocus
stSubject = "Email Send Test:- " & Field1.Text
Cheers
LarryB