![]() |
If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. |
|
|
Thread Tools | Search this Thread | Display Modes |
#1
|
|||
|
|||
![]()
I have a custom form that can be accessed as part of creating a new appointment in the calendar. Custom form is a second tab.
How would one take values from the 3-4 fields in the form(second tab) and pass these values into first tab(appointment itself: Subject, Location, Start time and Endtime already there by default) values should be posted into the big white text box that is normally used to enter notes about the appointment. Any help would be greatly appreciated.. Submitted using http://www.outlookforums.com |
Ads |
#2
|
|||
|
|||
![]()
That big white are is the Body.
You would access the data in the custom tab in one of 2 ways. If the fields there are bound to Outlook properties you can access the data either from the custom property associated with the data control, or you can access it from the control value. From the user property, if the property for some text in a textbox is a text property named Foo you would get the data this way, assuming Item is your item reference: Dim sData As String sData = Item.UserProperties.Item("Foo").Value If the data is only on a control named textFoo on a custom tab named FooTab you'd use this: sData = Item.GetInspector.ModifiedFormPages.Item("FooTab") .Controls.Item("textFoo").Value You might want to go to www.outlookcode.com and review the material in the forms sections there to get a handle on the basics of Outlook custom forms. -- Ken Slovak [MVP - Outlook] http://www.slovaktech.com Author: Professional Programming Outlook 2007. Reminder Manager, Extended Reminders, Attachment Options. http://www.slovaktech.com/products.htm "bear" swin_1234[at]yahoo[dot]com wrote in message ... I have a custom form that can be accessed as part of creating a new appointment in the calendar. Custom form is a second tab. How would one take values from the 3-4 fields in the form(second tab) and pass these values into first tab(appointment itself: Subject, Location, Start time and Endtime already there by default) values should be posted into the big white text box that is normally used to enter notes about the appointment. Any help would be greatly appreciated.. Submitted using http://www.outlookforums.com |
Thread Tools | Search this Thread |
Display Modes | |
|
|
![]() |
||||
Thread | Thread Starter | Forum | Replies | Last Post |
retrieving values from custom outlook form using vsto and c# | nitro | Outlook - Using Forms | 3 | February 11th 09 08:31 PM |
retrieving values from custom outlook form using vsto and c# | nitro | Outlook - Using Forms | 0 | February 10th 09 11:24 PM |
Combo Box Values in Custom Form | thequietDOMINO | Outlook - Using Forms | 23 | September 17th 07 07:46 PM |
Custom Form doesn't have any values in another Calendar | ML | Outlook - Using Forms | 3 | April 13th 06 09:41 PM |
Get values of custom variables from customised contact form | Michael Anderson | Outlook and VBA | 1 | February 6th 06 10:06 PM |