Passing values from custom form into another form's text box

Status
Not open for further replies.
B

bear

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..
 
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.

"bear" <swin_1234[at]yahoo[dot]com> wrote in message

news:uuS6nhfpKHA.5308@TK2MSFTNGP05.phx.gbl...
> 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
> https://forums.slipstick.com
 
Status
Not open for further replies.
Similar threads
Thread starter Title Forum Replies Date
K Passing a form field as a parameter from Outlook Using Outlook 12
N Passing Attachments between forms? Outlook VBA and Custom Forms 2
K TextBox on Custom Form Page :: Passing value from sender to the recipient Outlook VBA and Custom Forms 1
O Comma Separated Values.ADR and A file error has occurred in the translator Using Outlook 6
A Add attachments to appointment based on field values Outlook VBA and Custom Forms 0
Diane Poremsky Could not complete the operation. One or more parameter values are not valid. Using Outlook 0
T What code to use to move the custom field values to message body when sending e-mail ? Outlook VBA and Custom Forms 8
N How to retrieve user defined fields values to bcm form. Using Outlook 2
D Multiple values for a field (like categories) Outlook VBA and Custom Forms 1
M Make 2 independent Subs use shared Data Values Using Outlook 3
S Populate textbox values from one form to another form. Using Outlook 0
M Default values for contacts Using Outlook 8
G Displaying value of task subject field as values from two custom fields Using Outlook 4
W Linking dropdown values Outlook VBA and Custom Forms 1
M Assigning Values to Contact UserProperties Outlook VBA and Custom Forms 1
J User defined fields with pre-defined values Outlook VBA and Custom Forms 3
J Getting values of custom categories set on Calendar folder Outlook VBA and Custom Forms 2
E Where is the best place to store values for combobox entries Outlook VBA and Custom Forms 5
E Where is the best place to store values for combobox entries Outlook VBA and Custom Forms 5
H Error in values when exporting report to Excel BCM (Business Contact Manager) 1
C Boolean values for Checkbox fields Outlook VBA and Custom Forms 1
G Apply Custom Contacts form to all existing Contacts Outlook VBA and Custom Forms 1
G Add Map It button to Custom Contacts Form in Outlook Outlook VBA and Custom Forms 1
G Outlook 2021 Add Picture to Custom Contact Form Outlook VBA and Custom Forms 2
X Custom icon (not from Office 365) for a macro in Outlook Outlook VBA and Custom Forms 1
P Can't add custom field to custom Outlook form, it always adds to the Folder instead Outlook VBA and Custom Forms 2
AndyZ Contact Custom Form Tiny Text Outlook VBA and Custom Forms 3
A How to reduce size of custom contact form? Outlook VBA and Custom Forms 3
S Custom Contact card - need help creating one Outlook VBA and Custom Forms 1
S Outlook 2019 Custom outlook Add-in using Visual Studio Outlook VBA and Custom Forms 0
S Adding Custom Forms Outlook VBA and Custom Forms 4
Witzker How to get the button Karte ( map) in custom contact form Outlook VBA and Custom Forms 2
B Outlook 2019 Custom Email form - Edit default email form Outlook VBA and Custom Forms 6
D Outlook 365 Custom forms field limit? Outlook VBA and Custom Forms 4
J PSA: How to create custom keyboard shortcut for "Paste Unformatted Text" in Outlook on Windows Outlook VBA and Custom Forms 1
M copy field value to custom field Outlook VBA and Custom Forms 0
J Does the .fdm contain my custom form? How to make ol use it? - ol2007 Outlook VBA and Custom Forms 4
J ol2021 custom form not displaying pics Outlook VBA and Custom Forms 37
N "Perform a Custom Action" Outlook VBA and Custom Forms 0
cbufacchi Outlook 365 Populate custom Outlook Appoint form Outlook VBA and Custom Forms 2
C Create Meeting With Custom Form Outlook VBA and Custom Forms 2
FryW Need help modifying a VBA script for in coming emails to auto set custom reminder time Outlook VBA and Custom Forms 0
J custom form not displaying pictures Outlook VBA and Custom Forms 7
I Button PDF in Outlook Contact custom form Outlook VBA and Custom Forms 1
K Font Sizing in Custom Form Regions for Contacts Outlook VBA and Custom Forms 1
V Update new custom field Outlook VBA and Custom Forms 5
D Anyone tell me where custom view settings are stored? Outlook VBA and Custom Forms 9
S Outlook 2016 Arrange tasks by date, additional custom sorting, but still use friendly terms like Today, Tomorrow, This week? Using Outlook 1
K can't get custom form to update multiple contacts using VBA Outlook VBA and Custom Forms 3
H Custom Outlook Contact Form VBA Outlook VBA and Custom Forms 1

Similar threads

Back
Top