keep field values between forms

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?
 
S

Sue Mosher [MVP]

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
 
G

Guest

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

Sue Mosher [MVP]

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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top