imperator
Archaeologist etc.
- Local time
- Today, 21:56
- Joined
- Feb 28, 2004
- Messages
- 38
Hi All
I have a form (lets call it "form 1") on which are two buttons, one will print a letter, the other will send an email, you choose which to press depending on preference. The content of the email and letter comes from form 1. This all works fine.
I would like to simplify the look of the form by having only one button on form 1 called 'send confirmation' which then opens a second small form ("form 2") on which there is a two button toggle option group, one for email and one for letter. I would like to be able to press one of these buttons and run the procedure for either the email or letter.
This is were my knowledge fails me. How do I reference the data in form 1 from form 2 so the email and letter procedures have the data they need?
Further to this, would it be better to have the email and letter sub procedures in their own module instead of in the click event on the form? There may be scope to have other forms sending confirmation notices.
I would be open to suggestions for a more elegant solution if you feel this is convoluted.
Thanks,
Ray
I have a form (lets call it "form 1") on which are two buttons, one will print a letter, the other will send an email, you choose which to press depending on preference. The content of the email and letter comes from form 1. This all works fine.
I would like to simplify the look of the form by having only one button on form 1 called 'send confirmation' which then opens a second small form ("form 2") on which there is a two button toggle option group, one for email and one for letter. I would like to be able to press one of these buttons and run the procedure for either the email or letter.
This is were my knowledge fails me. How do I reference the data in form 1 from form 2 so the email and letter procedures have the data they need?
Further to this, would it be better to have the email and letter sub procedures in their own module instead of in the click event on the form? There may be scope to have other forms sending confirmation notices.
I would be open to suggestions for a more elegant solution if you feel this is convoluted.
Thanks,
Ray
Last edited: