A Microsoft Outlook email forum. Outlook Banter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Outlook Banter forum » Microsoft Outlook Email Newsgroups » Outlook - Using Forms
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

One-Off form



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old November 27th 06, 12:03 PM posted to microsoft.public.outlook.program_forms
Safal
external usenet poster
 
Posts: 28
Default One-Off form

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.
  #2  
Old November 27th 06, 01:24 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default One-Off form

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.

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


 




Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Set a Non-Standard Form as the Default Form in a Folder with VBA Dirk Outlook and VBA 4 November 8th 06 09:21 AM
How to replace Default Contact form with Customised conact form using VBScript code Satish Boddapati Outlook - Using Contacts 0 October 12th 06 09:20 AM
How to replace Default Contact form with Customised conact form us Satish Boddapati Outlook - Installation 0 October 12th 06 09:20 AM
How to replace Default Contact form with Customised conact form using VBScript code Satish Boddapati Outlook - Installation 0 October 12th 06 09:19 AM
OL2003 - can you auto-fill a singel new contact form with online form data TimR Outlook - Using Contacts 1 February 15th 06 02:43 PM


All times are GMT +1. The time now is 08:25 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2025 Outlook Banter.
The comments are property of their posters.