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

Customized Appointment form keeps reverting to default form



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old December 28th 06, 06:37 AM posted to microsoft.public.outlook.program_forms
John E.
external usenet poster
 
Posts: 37
Default Customized Appointment form keeps reverting to default form

I have created a customized P2 page on an Appointment form in which I have
some List Boxes that are being populated by VBscript code with records from
an Xcel Spreadsheet. I also use a textbox with each list box setup with a
Keywords field as a data store where I then store the check box states from
the List boxes at time of saving so they are persistent on reopening of the
Appointment Item.
If I open one of the custom Appointment items from the Actions menu and then
complete the data in the item and save it...this all appears to work
normally. However when I open the saved item it reverts back to the default
Appointment form. I know this because I am showing the Message Class object
on my custom form and see it when I save it but it reverts back to
IPM.Appointment when I open it.
I thought I might have some cache problems but used the Forms Manager to
make sure the published form was only in my custom Calendar folder where
these items reside and that the casche was cleared for the folder. I
haven't published the form yet to Personal Forms Library because it isn't
working yet.
Can you advise me what may be causing this reversion to default from my
custom Appointment form???
BTW, the VBscript code works fine in a similar custom Contact form using the
same objects, and is the same code with necessary item/page changes in the
Appointment form, so I don't think it is a code problem.
--
John E.
Ads
  #2  
Old December 28th 06, 01:29 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Customized Appointment form keeps reverting to default form

There are many possible causes of one-off forms (which is what you seem to be experiencing). See http://www.outlookcode.com/d/formpub.htm#macro

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

"John E." wrote in message ...
I have created a customized P2 page on an Appointment form in which I have
some List Boxes that are being populated by VBscript code with records from
an Xcel Spreadsheet. I also use a textbox with each list box setup with a
Keywords field as a data store where I then store the check box states from
the List boxes at time of saving so they are persistent on reopening of the
Appointment Item.
If I open one of the custom Appointment items from the Actions menu and then
complete the data in the item and save it...this all appears to work
normally. However when I open the saved item it reverts back to the default
Appointment form. I know this because I am showing the Message Class object
on my custom form and see it when I save it but it reverts back to
IPM.Appointment when I open it.
I thought I might have some cache problems but used the Forms Manager to
make sure the published form was only in my custom Calendar folder where
these items reside and that the casche was cleared for the folder. I
haven't published the form yet to Personal Forms Library because it isn't
working yet.
Can you advise me what may be causing this reversion to default from my
custom Appointment form???
BTW, the VBscript code works fine in a similar custom Contact form using the
same objects, and is the same code with necessary item/page changes in the
Appointment form, so I don't think it is a code problem.
--
John E.

  #3  
Old December 29th 06, 01:31 AM posted to microsoft.public.outlook.program_forms
John E.
external usenet poster
 
Posts: 37
Default Customized Appointment form keeps reverting to default form

Sue,
Again, thanks so much. It was a one-off problem. as you suspected The
referal you gave me enabled me to discover why. My problem was that I was
using the Country field from the Contact Item in my custom Appointment Item
which evidently was causing the one-off when I published. I was doing this
so I would have commonality of data accross different item classes (Contact,
Appointment, Journal Entry, et al) with this field. However, thru trial and
error I discovered that this Contact "Country" field was the one causing the
custom Appointment form to one-off...when I deleted this field and published
the problem went away.
Now I have two remaining problems due to this one-offing to solve, if you
could advise me best way to proceed:
1) Can I create a "New" text box field in the custom Appointment form
called "Country" and also use it in my custom Contact form (in lieu of the
normal Country field) and in my custom Journal Form to have commonality of
the data field in views/reports across records from all these Item classes?
My purpose is to have only one column named "Country" in views/reports that
will pick up the "Country" data entry from all of these item classes when I
create a Journal report that lists multiple activities from different item
classes.
2) I need to convert the message class of all the previous Appointment
items that were one-offed in my folder to the corrected custom form message
class. I studied the three options on how to do this at the link you pointed
me to. Can I use the Omsgclas.doc Word document utility described at
http://support.microsoft.com/kb/201089/EN-US/ to do this?? I am using OL2003
and the list of products it applies to only goes up to OL2002, but the last
review on this KB article #201089 was 12/27/04, so maybe it still works with
OL2003?? If not, what do you suggest to get all of my folder items to the
new custom form message class?
--
John E.


"Sue Mosher [MVP-Outlook]" wrote:

There are many possible causes of one-off forms (which is what you seem to be experiencing). See http://www.outlookcode.com/d/formpub.htm#macro

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

"John E." wrote in message ...
I have created a customized P2 page on an Appointment form in which I have
some List Boxes that are being populated by VBscript code with records from
an Xcel Spreadsheet. I also use a textbox with each list box setup with a
Keywords field as a data store where I then store the check box states from
the List boxes at time of saving so they are persistent on reopening of the
Appointment Item.
If I open one of the custom Appointment items from the Actions menu and then
complete the data in the item and save it...this all appears to work
normally. However when I open the saved item it reverts back to the default
Appointment form. I know this because I am showing the Message Class object
on my custom form and see it when I save it but it reverts back to
IPM.Appointment when I open it.
I thought I might have some cache problems but used the Forms Manager to
make sure the published form was only in my custom Calendar folder where
these items reside and that the casche was cleared for the folder. I
haven't published the form yet to Personal Forms Library because it isn't
working yet.
Can you advise me what may be causing this reversion to default from my
custom Appointment form???
BTW, the VBscript code works fine in a similar custom Contact form using the
same objects, and is the same code with necessary item/page changes in the
Appointment form, so I don't think it is a code problem.
--
John E.


  #4  
Old December 30th 06, 03:57 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Customized Appointment form keeps reverting to default form

1) Can I create a "New" text box field in the custom Appointment form
called "Country" and also use it in my custom Contact form (in lieu of the
normal Country field) and in my custom Journal Form to have commonality of
the data field in views/reports across records from all these Item classes?


Yes, this should work. You will need to create the field independently in each of the three folders.

2) I need to convert the message class of all the previous Appointment
items that were one-offed in my folder to the corrected custom form message
class. I studied the three options on how to do this at the link you pointed
me to. Can I use the Omsgclas.doc Word document utility described at
http://support.microsoft.com/kb/201089/EN-US/ to do this??


No, because each item already has a one-off form embedded in it. You must remove that form first. See http://blogs.msdn.com/stephen_griffi...29/507991.aspx for a CDO 1.21 sample of how to do that. YOu can add an oMessage.Type = "IPM.Appointment.MyForm" statement to change the message class before you update the item.
--
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

"John E." wrote in message ...
Sue,
Again, thanks so much. It was a one-off problem. as you suspected The
referal you gave me enabled me to discover why. My problem was that I was
using the Country field from the Contact Item in my custom Appointment Item
which evidently was causing the one-off when I published. I was doing this
so I would have commonality of data accross different item classes (Contact,
Appointment, Journal Entry, et al) with this field. However, thru trial and
error I discovered that this Contact "Country" field was the one causing the
custom Appointment form to one-off...when I deleted this field and published
the problem went away.
Now I have two remaining problems due to this one-offing to solve, if you
could advise me best way to proceed:
1) Can I create a "New" text box field in the custom Appointment form
called "Country" and also use it in my custom Contact form (in lieu of the
normal Country field) and in my custom Journal Form to have commonality of
the data field in views/reports across records from all these Item classes?
My purpose is to have only one column named "Country" in views/reports that
will pick up the "Country" data entry from all of these item classes when I
create a Journal report that lists multiple activities from different item
classes.
2) I need to convert the message class of all the previous Appointment
items that were one-offed in my folder to the corrected custom form message
class. I studied the three options on how to do this at the link you pointed
me to. Can I use the Omsgclas.doc Word document utility described at
http://support.microsoft.com/kb/201089/EN-US/ to do this?? I am using OL2003
and the list of products it applies to only goes up to OL2002, but the last
review on this KB article #201089 was 12/27/04, so maybe it still works with
OL2003?? If not, what do you suggest to get all of my folder items to the
new custom form message class?


 




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
Appointment form customized and face problems Safal Outlook - Using Forms 6 November 20th 06 02:03 PM
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


All times are GMT +1. The time now is 06:00 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.