»
 

Go Back   ResellerRatings Store Ratings > ResellerRatings Forums > Tech Support

Reply
 
LinkBack Thread Tools Display Modes
Old 07-14-2003, 12:03 PM   #1 (permalink)
Registered User
 
Join Date: Dec 2002
Location: Philadelphia, PA
Posts: 7
nsohenick is on a distinguished road
Kids Outlook VBS Programming w/ Forms

I have created a custom outlook form. I was using the custom action voting buttons to approve requests and open the approval form. Everything worked great that way.

I decided to use a command button to send and close all forms so there was confusion as to whether it was sent. Once the command button was working properly, the bound field value were not passed to the approval form.

Is there something I need to add to the code for this to work again?

Thank so much,

Nsohenick

nsohenick is offline   Reply With Quote
Old 07-16-2003, 06:37 PM   #2 (permalink)
Registered User
 
Join Date: Oct 2001
Location: TOO close to Wash DC
Posts: 7,956
vass0922 is on a distinguished road
Are they two different forms, or are they the same form with a READ side and a COMPOSE side?

If its two forms, you can put in code to pass the value between the two forms.
__________________
<< Insert exceedingly large and overly verbose message of how 1337 you are here including full specs of every vehicle you've ever driven and PC you've owned >>
vass0922 is offline   Reply With Quote
Old 07-17-2003, 07:21 AM   #3 (permalink)
Registered User
 
Join Date: Dec 2002
Location: Philadelphia, PA
Posts: 7
nsohenick is on a distinguished road
It is 2 forms. I decided to go back to the custom voting options and placed code in the custom action event handler. I am curious to know what kind of code you would need to pass the values to a new form. Here is what I did:

Function Item_CustomAction(ByVal myAction, ByVal myResponse)
Select Case myAction.name
Case "Approve Request"
Set MyApp = Application.ActiveInspector.CurrentItem
Myitem.Close(1)
MyApp.Close(1)
Case Else
End Select
End Function
nsohenick is offline   Reply With Quote
Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
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

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Most Active Discussions

Recent Discussions

All times are GMT -6. The time now is 04:36 AM.