PC Review
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook Form Programming
Passing variables
Forums
Newsgroups
Microsoft Outlook
Microsoft Outlook Form Programming
Passing variables
![]() |
Passing variables |
|
|
Thread Tools | Rate Thread |
|
|
#1 |
|
Guest
Posts: n/a
|
Ok when you are designing a custom form and in the
actions tab you enter a new entry to open up another form. A button gets added above the body of the form giving you a way when form is running to open up that new form you just added to the action area. That's what I am calling a response tab, a poor choice of words. So from what I am gathering from your last message if their is a identical field on the other custom form that I just clicked the button for, the value for that field will be carried over to the new forms field, correct? If not how? Thanks, Pete |
|
|
|
#2 |
|
Guest
Posts: n/a
|
Indeed, a button and a tab are two quite different things.
If the field names on the two custom forms are the same and you have the custom action set up as a Response, the data should transfer. If it doesn't, then just put code in the Item_CustomActions event handler to perform the copy: Function Item_CustomAction(ByVal Action, ByVal NewItem) Select Case Action.Name Case "name of your action" ' built-in property NewItem.Mileage = Item.Mileage ' custom proeprty NewItem.UserProperties("propname") = Item.UserProperties("propname") Case "name of another action" ' your code for handling the other action goes here End Select End Function -- Sue Mosher, Outlook MVP Author of Microsoft Outlook Programming - Jumpstart for Administrators, Power Users, and Developers http://www.outlookcode.com/jumpstart.aspx "Pete" <anonymous@discussions.microsoft.com> wrote in message news:790b01c4310c$2e700b80$a001280a@phx.gbl... > Ok when you are designing a custom form and in the > actions tab you enter a new entry to open up another > form. A button gets added above the body of the form > giving you a way when form is running to open up that new > form you just added to the action area. That's what I am > calling a response tab, a poor choice of words. So from > what I am gathering from your last message if their is a > identical field on the other custom form that I just > clicked the button for, the value for that field will be > carried over to the new forms field, correct? If not how? > > Thanks, > > Pete |
|
|
|
#3 |
|
Guest
Posts: n/a
|
In article <790b01c4310c$2e700b80$a001280a@phx.gbl>, Pete wrote:
> That's what I am calling a response tab, a poor choice of words. So > from what I am gathering from your last message if their is a > identical field on the other custom form that I just > clicked the button for, the value for that field will be > carried over to the new forms field, correct? If not how? > OK. We agree on what a response form is. Now, we have to agree what a calling form is. The calling form is the form to which the response form is a response. They come in pairs--calling form and response form. The trick to getting the autoloading feature to work is in the design of the response form. You recall that you drag fields from a specific category (or list) of fields which you select in a dropdown list? Usually one selects the category of the standard form that you are modifying. However, when you are creating a response form, you must drag the field from the category of the calling form. You will find it lower on the list than the standard forms. This also implies that you have published the calling form before you design the response form. Hollis D. Paul [MVP - Outlook] Hollis@outhousebythesound.com Using Virtual Access 4.52 build 277 (32-bit), Windows 2000 build 2195 http://search.support.microsoft.com...D=TECH&LN=EN-US Mukilteo, WA USA |
|
![]() |
|
| Thread Tools | |
| Rate This Thread | |
|
|

Main Page 

