Thread: One-Off form
View Single Post
  #3  
Old November 28th 06, 09:59 AM posted to microsoft.public.outlook.program_forms
Safal
external usenet poster
 
Posts: 28
Default One-Off form

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

"Sue Mosher [MVP-Outlook]" wrote:

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
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Safal" wrote in message ...
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.


Ads