Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
Home
DiscussionsAccessExcelInfoPathOutlookPowerPointPublisherWord
DirectoryUser Groups
Related Topics
Outlook ExpressInternet ExplorerWindowsMS Server ProductsMore Topics ...

MS Office Forum / Outlook / Programming Forms / November 2006

Tip: Looking for answers? Try searching our database.

One-Off form

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Safal - 27 Nov 2006 11:03 GMT
Have customised the 2nd tab of an Appointment form and published the same in
the Org Forms Lib and the Calendar folder on my machine.

I recieve the Macros error message when trying to open a calendar entry.
Read up articles on One-off forms but could not fix the issue.I am using MS
Outlook 2000 SR1

I have 4 combos in the "P.2" tab with 1 of the "PossibleValues" fetched from
SQL server and 3 more hard coded with ; separation.I understand that this
property cause's the prblm.Also came across a code snippet which im not sure
should be used to get rid of the problem i face -

NewMC = "IPM.Appointment.PSO Appointment"
If CurItem.MessageClass <> NewMC Then
        CurItem.MessageClass = NewMC
        CurItem.Save
End If

Please do let me know how i could resolve the same? I have now cleared the
VBScript code saved the form and published it again.Its strange that the tab
"P.2" still shows me the values and after a save in the calendar i do not see
the error any more. I cannot explain this strange behaviour. Am I missing
something here ??
How are the custom values showing when i have taken out the entire VBScript
code ? This is confusing.
Sue Mosher [MVP-Outlook] - 27 Nov 2006 12:24 GMT
Don't use PossibleValues to fill the combo box lists. Use List or AddItem instead. See http://www.outlookcode.com/d/formcontrols.htm#listcombo

> How are the custom values showing when i have taken out the entire VBScript
> code ?

What custom values are you referring to?
Signature

Sue Mosher, Outlook MVP
  Author of Configuring Microsoft Outlook 2003
    http://www.turtleflock.com/olconfig/index.htm
  and Microsoft Outlook Programming - Jumpstart for
    Administrators, Power Users, and Developers
    http://www.outlookcode.com/jumpstart.aspx
 

> Have customised the 2nd tab of an Appointment form and published the same in
> the Org Forms Lib and the Calendar folder on my machine.
[quoted text clipped - 21 lines]
> How are the custom values showing when i have taken out the entire VBScript
> code ? This is confusing.
Safal - 28 Nov 2006 08:59 GMT
Thanks for the suggetion - AddItem did resolve the issue I had

The 2nd bit since i made use of PossibleValues the data was stored in the
properties although i had cleared the VBScript code. Hence i had to right
click on each custom dropdown i created and clear the PossibleValues text.

Thanks again

> Don't use PossibleValues to fill the combo box lists. Use List or AddItem instead. See http://www.outlookcode.com/d/formcontrols.htm#listcombo
>
[quoted text clipped - 27 lines]
> > How are the custom values showing when i have taken out the entire VBScript
> > code ? This is confusing.
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.