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

Outlook and Form Issue



 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old April 30th 06, 02:23 PM posted to microsoft.public.outlook.program_forms
Jade
external usenet poster
 
Posts: 5
Default Outlook and Form Issue

Hi,

I designed a form in outlook using the post template and added the
following code:

Function Item_Open()
IntAns=MsgBox("Would you like to open a new account",_
vbQuestion+vbYesNo,"Account Request")
If IntAns=vbYes then
Set myInspector=Item.GetInspector
Set myPage=myInspector.ModifiedFormPages.Item("CusNum" )
Set fraOpen=myPage.Controls.Item("fraOpen")
fraOpen.Visible=True
End If
If IntAns=vbNo Then
Set myInspector=Item.GetInspector
Set myPage=myInspector.ModifiedFormPages.Item("CusNum" )
Set fraChange=myPage.Controls.Item("fraChange")
fraChange.Visible=True
End If
End Function

The problem I'm facing are on two levels. First when I work with the
form in my laptop it works fine however none of the frames show on the
read layout portion when posted. Secondly, I re-created the exact form
in my computer at work and when I try to run the form it crashes
Outlook (closes and restarts itself) when you attempt to Post. The
code runs well on both environments, it's just when you post or attempt
to post that the form exhibits these quirks. All I would like to do is
ask the question during the composing layout and show the results on
the read layout.

Any recommendations would be greatly appreciated.

Thank you.

Jade

 




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
Outlook program, outlook form, local webpage form & Excel Junoon Outlook and VBA 1 April 3rd 06 06:45 AM
issue with opening form sele Outlook - Using Forms 1 March 24th 06 01:29 PM
Default Email template/form issue BearTrap3 Outlook - Using Forms 3 February 24th 06 09:50 PM
Having an issue with Check Full Name form Bo Outlook - Using Contacts 1 February 24th 06 01:20 PM
I send an Outlook custom form, but a std. form displays? Sue Mosher [MVP-Outlook] Outlook - Using Forms 0 January 20th 06 07:41 PM


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