One-Off form

G

Guest

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

Sue Mosher [MVP-Outlook]

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?
--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 
G

Guest

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
 

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