Outlook 2007 Code For Matching Textbox to a Combobox in a Different Form
When I created the Task form, in the Page called P2, I added to the Page P2 from the Control Toolbox two text boxes.
In my default form for contacts, I have added a Combobox and in the Value area as to Choose a Field, it is a Text Field that I created, the Type is "Dropdown", the Property to Use is "Value", and then under Possible Values, I wrote in a list of words and phrases where at the end of each phrase is a semicolon, which under the Combobox, each phrase shows up part of a drop list, and I just identify which phrase I want to show in the Combobox field on the Contact.
And the other type of Combobox as to Choose a Field, is a Date/Time field and nothing else to add to it, so in the field of the Date/Time in the Contact, I just type in the appropriate date.
So when I open a contact and create the Task by using the Assign Task to the contact, or in the list of contacts, I click on a contact (not open it), go to Actions, Create, New Task For Contact, how can each "Text Box" in the Task receive the value decided from the drop list from a specific Combobox in the Contact.
Does anyone know the code and where I should put it please?
Also, does it makes sense to create Comboboxs in the Task form that are the same of the Comboboxs in the Contact form, and create the code that makes the Comboboxs of the Task form automatically use the Value from the Comboboxs that are the same in the Contact that gets Assigned to the Task in the two different ways I mentioned above.
So I don’t care which way to do it, just need to know and get the code and where to put it.
Thanks much as I need this as soon as possible from someone!
|