Calendar Form

A

Ann

I have created an appointment form to use for vacation request. My problem
is I cannot get it save the label that I select or to uncheck the reminder
box. Is there some way to do this?

Ann
 
S

Sue Mosher [MVP-Outlook]

Please be specific about what you're trying to do. Are you trying to set a
default label and reminder setting for the custom form? Or are you trying to
change the values on an item created with the form?
 
A

Ann

I am designing a form and trying to get it to save a default label
(vacation) and I want it to save the reminder check box as unchecked. When
ever I change the label and republish the form it still opens up with
nothing selected for the label and the reminder box is always checked even
though I uncheck it in the design.

Ann
 
S

Sue Mosher [MVP-Outlook]

The reminder behavior is governed by the user's choice for default
reminders. If you want to the form to do something else, you'll need to put
code in the Item_Open event handler:

Function Item_Open()
If Item.Size = 0 Then
Item.ReminderSet = False
End If
End Function

I can't duplicate the label problem in Outlook 2003 SP1 on saved
appointments. Were you perhaps referring to meeting requests? Labels are not
sent in those.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
A

Ann

I appreciate your help with this.. Yes, I guess it really would be a meeting
request. What I did was use the appointment template but I have invited the
manager so it would send the request to his calendar so that did make it a
meeting request. I am just going to setup automatic formatting on his
machine to highlight those entries on his calendar. Thanks again for all of
your help.

Ann
 
S

Sue Mosher [MVP-Outlook]

Think about it: Since calendar color labels are customizable, there is no
way to guarantee that a label you set would have the same meaning for
someone else.

Automatic formatting may be a good solution.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
S

Sue Mosher [MVP-Outlook]

In the form's View Code window.

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
A

Ann

I have put the code in the view code window but it does not uncheck the
reminder box when the form is used. Also when I go back into design mode
the code is no longer there. What am I doing wrong?
 
S

Sue Mosher [MVP-Outlook]

How are you "using" the form? Where did you publish it?

--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
S

Sue Mosher [MVP-Outlook]

And are you launching the form from there?
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
A

Ann

Yes.


Sue Mosher said:
And are you launching the form from there?
--
Sue Mosher, Outlook MVP
Author of
Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
S

Sue Mosher [MVP-Outlook]

The symptoms would seem to indicate that either you didn't publish the form
after you added code or you checked the "send form definition with item" box
on the (Properties) page. Did you save an .oft backup of the form that you
can look at?

--
Sue Mosher, Outlook MVP
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