PC Review


Reply
Thread Tools Rate Thread

After requestor submits the form; Sent item of Requestor has got t

 
 
Rahul
Guest
Posts: n/a
 
      12th Nov 2008
Hi,

Am using Outlook 2003 and have desgined and coded an Outlook Custom Form.

I have a Requestor (Request) form and an Approver (Response) form. When a
requestor submits the form, in sent items of the requestor's outlook am able
to find the approver's form (Response). He is able to approve his own form
too which is a serious flaw. I would appreciate if someone could help me on
this.

Sub submit_Click()
dim strAnswer
strAnswer = msgBox("Are you sure you wish to submit this Requester
form?",vbYesNo, "Submitting the Request")
if strAnswer = 6 then
if checkData Then
'A text on the form has the approver mail id
Item.UserProperties("Approver").Value = item.Recipients(1).name
item.send
end if
Else
msgbox "Data send cancelled by user"
end if
End Sub

Function Item_Send()
set LookupPage = Item.GetInspector.ModifiedFormPages
Item_Send = True
End Function

Thanks in advance.

Rahul...

 
Reply With Quote
 
 
 
 
Ken Slovak - [MVP - Outlook]
Guest
Posts: n/a
 
      13th Nov 2008
See my answer to your other post. If you set DeleteAfterSubmit the sent
items never even go to Sent Items.

--
Ken Slovak
[MVP - Outlook]
http://www.slovaktech.com
Author: Professional Programming Outlook 2007.
Reminder Manager, Extended Reminders, Attachment Options.
http://www.slovaktech.com/products.htm


"Rahul" <(E-Mail Removed)> wrote in message
news:93092A8B-68AF-4543-B508-(E-Mail Removed)...
> Hi,
>
> Am using Outlook 2003 and have desgined and coded an Outlook Custom Form.
>
> I have a Requestor (Request) form and an Approver (Response) form. When a
> requestor submits the form, in sent items of the requestor's outlook am
> able
> to find the approver's form (Response). He is able to approve his own form
> too which is a serious flaw. I would appreciate if someone could help me
> on
> this.
>
> Sub submit_Click()
> dim strAnswer
> strAnswer = msgBox("Are you sure you wish to submit this Requester
> form?",vbYesNo, "Submitting the Request")
> if strAnswer = 6 then
> if checkData Then
> 'A text on the form has the approver mail id
> Item.UserProperties("Approver").Value = item.Recipients(1).name
> item.send
> end if
> Else
> msgbox "Data send cancelled by user"
> end if
> End Sub
>
> Function Item_Send()
> set LookupPage = Item.GetInspector.ModifiedFormPages
> Item_Send = True
> End Function
>
> Thanks in advance.
>
> Rahul...
>


 
Reply With Quote
Reply

Thread Tools
Rate This Thread
Rate This Thread:

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 Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Unidentified Program requestor Alfred Kaufmann Windows Vista General Discussion 0 26th May 2007 05:48 PM
Keep recurring assigned tasks on requestor's list? =?Utf-8?B?VG9vbmRlcg==?= Microsoft Outlook Discussion 0 21st Aug 2006 08:21 PM
Active Requestor Profile using ADFS =?Utf-8?B?S0lN?= Microsoft Dot NET Framework 0 19th Jul 2006 03:44 PM
Accepting Remote Assistance Invitation With Requestor Absent =?Utf-8?B?SWFubWVpc3Rlcg==?= Windows XP Work Remotely 1 26th Dec 2005 04:36 PM
Duplicate entries on resource for same meeting by same requestor.. =?Utf-8?B?RXJpYyBC?= Microsoft Outlook Calendar 0 12th Dec 2005 03:34 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:24 AM.