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

Checkbox and multiple pages



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old March 19th 08, 11:02 PM posted to microsoft.public.outlook.program_forms
Aggie G
external usenet poster
 
Posts: 15
Default Checkbox and multiple pages

I have a custom form in Outlook and I need help. This is what I want. If the
'Policy/Procedure' checkbox is checked, the form will require the user to
complete specific fields on a different page (Procedure Details) of the
Outlook custom form. The validation formulas in the fields on the procedures
detail page should only apply when the box is checked.

I think this would require VBA, but I am not experienced enough to do this.
Please help.


Ads
  #2  
Old March 20th 08, 03:30 PM posted to microsoft.public.outlook.program_forms
Eric Legault [MVP - Outlook]
external usenet poster
 
Posts: 830
Default Checkbox and multiple pages

You can monitor the CustomPropertyChange event and check the Name parameter
to make sure it equals the field you have bound to the checkbox. If it is
true, call Inspector.ShowFormPage("PageName") to display your page.

However, you can't toggle any validation checks for a control with code.
You'd have to code the validation logic yourself and implement it in the
CustomPropertyChange event, setting Cancel=True if the logic test fails with
the current value.

--
Eric Legault - Outlook MVP, MCDBA, MCTS (SharePoint programming, etc.)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"Aggie G" wrote:

I have a custom form in Outlook and I need help. This is what I want. If the
'Policy/Procedure' checkbox is checked, the form will require the user to
complete specific fields on a different page (Procedure Details) of the
Outlook custom form. The validation formulas in the fields on the procedures
detail page should only apply when the box is checked.

I think this would require VBA, but I am not experienced enough to do this.
Please help.


  #3  
Old March 20th 08, 05:28 PM posted to microsoft.public.outlook.program_forms
Aggie G
external usenet poster
 
Posts: 15
Default Checkbox and multiple pages

Ok this sounds like I need to write code to bound the checkbox to the
specific page; problem is I don't write code. Can you provide me with code to
do this ?

"Eric Legault [MVP - Outlook]" wrote:

You can monitor the CustomPropertyChange event and check the Name parameter
to make sure it equals the field you have bound to the checkbox. If it is
true, call Inspector.ShowFormPage("PageName") to display your page.

However, you can't toggle any validation checks for a control with code.
You'd have to code the validation logic yourself and implement it in the
CustomPropertyChange event, setting Cancel=True if the logic test fails with
the current value.

--
Eric Legault - Outlook MVP, MCDBA, MCTS (SharePoint programming, etc.)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"Aggie G" wrote:

I have a custom form in Outlook and I need help. This is what I want. If the
'Policy/Procedure' checkbox is checked, the form will require the user to
complete specific fields on a different page (Procedure Details) of the
Outlook custom form. The validation formulas in the fields on the procedures
detail page should only apply when the box is checked.

I think this would require VBA, but I am not experienced enough to do this.
Please help.


  #4  
Old March 20th 08, 09:27 PM posted to microsoft.public.outlook.program_forms
Guest
 
Posts: n/a
Default Checkbox and multiple pages

If it's your job to create custom Outlook forms, it is in your best
interests to learn the basics of Outlook coding! There are plenty of
resources out there - it's best to start with http://www.outlookcode.com.
If you can start, I'll assist you with specific questions but I don't have
time to code your entire solution - sorry.

Eric

"Aggie G" wrote in message
...
Ok this sounds like I need to write code to bound the checkbox to the
specific page; problem is I don't write code. Can you provide me with code
to
do this ?

"Eric Legault [MVP - Outlook]" wrote:

You can monitor the CustomPropertyChange event and check the Name
parameter
to make sure it equals the field you have bound to the checkbox. If it
is
true, call Inspector.ShowFormPage("PageName") to display your page.

However, you can't toggle any validation checks for a control with code.
You'd have to code the validation logic yourself and implement it in the
CustomPropertyChange event, setting Cancel=True if the logic test fails
with
the current value.

--
Eric Legault - Outlook MVP, MCDBA, MCTS (SharePoint programming, etc.)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"Aggie G" wrote:

I have a custom form in Outlook and I need help. This is what I want.
If the
'Policy/Procedure' checkbox is checked, the form will require the user
to
complete specific fields on a different page (Procedure Details) of the
Outlook custom form. The validation formulas in the fields on the
procedures
detail page should only apply when the box is checked.

I think this would require VBA, but I am not experienced enough to do
this.
Please help.



  #5  
Old March 24th 08, 05:40 PM posted to microsoft.public.outlook.program_forms
Aggie G
external usenet poster
 
Posts: 15
Default Checkbox and multiple pages

Actually it isn't my job to create forms, I do it to make it easier on
myself. If you don't have time to help me, that is fine...I'll try to figure
it out myself!

" wrote:

If it's your job to create custom Outlook forms, it is in your best
interests to learn the basics of Outlook coding! There are plenty of
resources out there - it's best to start with http://www.outlookcode.com.
If you can start, I'll assist you with specific questions but I don't have
time to code your entire solution - sorry.

Eric

"Aggie G" wrote in message
...
Ok this sounds like I need to write code to bound the checkbox to the
specific page; problem is I don't write code. Can you provide me with code
to
do this ?

"Eric Legault [MVP - Outlook]" wrote:

You can monitor the CustomPropertyChange event and check the Name
parameter
to make sure it equals the field you have bound to the checkbox. If it
is
true, call Inspector.ShowFormPage("PageName") to display your page.

However, you can't toggle any validation checks for a control with code.
You'd have to code the validation logic yourself and implement it in the
CustomPropertyChange event, setting Cancel=True if the logic test fails
with
the current value.

--
Eric Legault - Outlook MVP, MCDBA, MCTS (SharePoint programming, etc.)
Try Picture Attachments Wizard for Outlook:
http://www.collaborativeinnovations.ca
Blog: http://blogs.officezealot.com/legault/


"Aggie G" wrote:

I have a custom form in Outlook and I need help. This is what I want.
If the
'Policy/Procedure' checkbox is checked, the form will require the user
to
complete specific fields on a different page (Procedure Details) of the
Outlook custom form. The validation formulas in the fields on the
procedures
detail page should only apply when the box is checked.

I think this would require VBA, but I am not experienced enough to do
this.
Please help.



  #6  
Old March 25th 08, 07:53 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Checkbox and multiple pages

The checkbox needs to be bound to an Outlook property (call it MyField for purposes of this example). The validation formula for each other field would be:

([MyField] = False) OR ([OtherField] "")

--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook 2007 Programming:
Jumpstart for Power Users and Administrators
http://www.outlookcode.com/article.aspx?id=54


"Aggie G" wrote in message ...
I have a custom form in Outlook and I need help. This is what I want. If the
'Policy/Procedure' checkbox is checked, the form will require the user to
complete specific fields on a different page (Procedure Details) of the
Outlook custom form. The validation formulas in the fields on the procedures
detail page should only apply when the box is checked.

I think this would require VBA, but I am not experienced enough to do this.
Please help.


 




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
faulty checkbox William Outlook - Using Forms 1 September 20th 07 12:47 PM
save this password checkbox Mark B Outlook - Installation 0 February 22nd 07 08:21 PM
Checkbox valdiation formula Aggie G Outlook - Using Forms 1 November 9th 06 12:46 AM
outlook checkbox merge adubb Outlook - Using Forms 1 May 27th 06 02:14 PM
if checkbox is checked then... andy Outlook - Using Forms 3 April 5th 06 09:45 PM


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