keep field values between forms

  • Thread starter Thread starter Mike
  • Start date Start date
M

Mike

I have created a form that will call another form when the
reply button is selected. I have information on the first
form that I need on the second form. I tried doing
the "set initial Value) on the properties section for the
field, but that does not work... Any suggestions?
 
If the two forms have the same field names, data should transfer. If not, put code in the Item_Reply event handler in the calling form.
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 
Does it matter if it is a field or a control? also what
kind of code?
-----Original Message-----
If the two forms have the same field names, data should
transfer. If not, put code in the Item_Reply event handler
in the calling form.
--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers


"Mike" <[email protected]> wrote in
message news:[email protected]...
 
Yes, it matters. Fields are where Outlook stores its data. Controls are just UI.

Sample code:

Function Item_Reply(ByVal Response)
Response.UserProperties("myprop") = Item.UserProperties("myprop")
Response.Display
End Function

--
Sue Mosher, Outlook MVP
Outlook and Exchange solutions at http://www.slipstick.com
Author of
Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
 
Back
Top