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

Tags: , , , , ,

Using the Address Book in a Custom Task Form





 
 
Thread Tools Display Modes
  #1  
Old June 3rd 08, 10:37 PM posted to microsoft.public.outlook.program_forms
BethA
external usenet poster
 
Posts: 4
Default Using the Address Book in a Custom Task Form

I am trying to use the address book to fill in a "requestor" name in a custom
task form (requestor is a custom field that we added). I found this page:

http://support.microsoft.com/kb/291147

about how to use address books in an Outlook solution.

Method 1 is using the AddressBook method. I got that to work, and it's very
nice EXCEPT for the warning that pops up about a program trying to access the
email addresses. That pop-up makes it not so useful.

So we are using method 2 and have a button which brings up an address book
bound to the "Have Replies Sent To" field and then the REquestor field is
supposed to have the initial value set to the other field and be updated
automatically. This works fine for a new task. But if we open an old task
which didn't have a requestor name and use the Address Book to add it, here's
what happens: the name from the address book does show up in the Requestor
text box BUT it is not saved when the task is saved.

I think there must be a way to use Item_CustomUserProperties to save the
item when the REquestor is changed, but it's not working.

Any help will be appreciated. Thanks!


Ads
  #2  
Old June 3rd 08, 10:46 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Using the Address Book in a Custom Task Form

Outlook version? There is no CustomUserProperties event. The event you're thinking of is CustomPropertyChange; see http://www.outlookcode.com/article.aspx?ID=38.

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


"BethA" wrote in message ...
I am trying to use the address book to fill in a "requestor" name in a custom
task form (requestor is a custom field that we added). I found this page:

http://support.microsoft.com/kb/291147

about how to use address books in an Outlook solution.

Method 1 is using the AddressBook method. I got that to work, and it's very
nice EXCEPT for the warning that pops up about a program trying to access the
email addresses. That pop-up makes it not so useful.

So we are using method 2 and have a button which brings up an address book
bound to the "Have Replies Sent To" field and then the REquestor field is
supposed to have the initial value set to the other field and be updated
automatically. This works fine for a new task. But if we open an old task
which didn't have a requestor name and use the Address Book to add it, here's
what happens: the name from the address book does show up in the Requestor
text box BUT it is not saved when the task is saved.

I think there must be a way to use Item_CustomUserProperties to save the
item when the REquestor is changed, but it's not working.

Any help will be appreciated. Thanks!


  #3  
Old June 4th 08, 05:42 AM posted to microsoft.public.outlook.program_forms
BethA
external usenet poster
 
Posts: 4
Default Using the Address Book in a Custom Task Form

I'm sorry - I should have edited my post more carefully! You are right, it is
the CustomPropertyChange event, and I did get it working to show me
Item.UserProperties("Requestor").Value, etc. when it changed.

Outlook version is 2003, SP2, and we do have Microsoft Exchange, which I
guess can affect things too.

Thanks,
Beth

"Sue Mosher [MVP-Outlook]" wrote:

Outlook version? There is no CustomUserProperties event. The event you're thinking of is CustomPropertyChange; see http://www.outlookcode.com/article.aspx?ID=38.

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


"BethA" wrote in message ...
I am trying to use the address book to fill in a "requestor" name in a custom
task form (requestor is a custom field that we added). I found this page:

http://support.microsoft.com/kb/291147

about how to use address books in an Outlook solution.

Method 1 is using the AddressBook method. I got that to work, and it's very
nice EXCEPT for the warning that pops up about a program trying to access the
email addresses. That pop-up makes it not so useful.

So we are using method 2 and have a button which brings up an address book
bound to the "Have Replies Sent To" field and then the REquestor field is
supposed to have the initial value set to the other field and be updated
automatically. This works fine for a new task. But if we open an old task
which didn't have a requestor name and use the Address Book to add it, here's
what happens: the name from the address book does show up in the Requestor
text box BUT it is not saved when the task is saved.

I think there must be a way to use Item_CustomUserProperties to save the
item when the REquestor is changed, but it's not working.

Any help will be appreciated. Thanks!



  #4  
Old June 4th 08, 05:47 AM posted to microsoft.public.outlook.program_forms
BethA
external usenet poster
 
Posts: 4
Default Using the Address Book in a Custom Task Form

Also, I should add that the link:
http://www.outlookcode.com/article.aspx?ID=38 has been very helpful and I
read over the discussion cited there. I think the problem is just as Sue
mentions there - Item.UserProperties("Have Replies Sent To") does not behave
like a normal UserProperty.

I'm wondering if there are any other ways around that, so we can
consistently have the value of that UserProperty copied to
Item.UserProperty("Requestor").

Thanks!
Beth
  #5  
Old June 4th 08, 04:35 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Using the Address Book in a Custom Task Form

I can duplicate that behavior. I suspect that it has something to do with the Have Replies Sent To field for a message being analogous to StatusUpdateRecipients and StatusOnCompletionRecipients, so you're using a field for an unintended purpose twice over.

In any case, I don't think that method is really workable. I'd either live with the CDO security prompts or use Redemption (http://www.dimastr.com/redemption/) to avoid the prompts.

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


"BethA" wrote in message ...
I'm sorry - I should have edited my post more carefully! You are right, it is
the CustomPropertyChange event, and I did get it working to show me
Item.UserProperties("Requestor").Value, etc. when it changed.

Outlook version is 2003, SP2, and we do have Microsoft Exchange, which I
guess can affect things too.

Thanks,
Beth

"Sue Mosher [MVP-Outlook]" wrote:

Outlook version? There is no CustomUserProperties event. The event you're thinking of is CustomPropertyChange; see http://www.outlookcode.com/article.aspx?ID=38.

What is the formula for your Requestor field?

"BethA" wrote in message ...
I am trying to use the address book to fill in a "requestor" name in a custom
task form (requestor is a custom field that we added). I found this page:

http://support.microsoft.com/kb/291147

about how to use address books in an Outlook solution.

Method 1 is using the AddressBook method. I got that to work, and it's very
nice EXCEPT for the warning that pops up about a program trying to access the
email addresses. That pop-up makes it not so useful.

So we are using method 2 and have a button which brings up an address book
bound to the "Have Replies Sent To" field and then the REquestor field is
supposed to have the initial value set to the other field and be updated
automatically. This works fine for a new task. But if we open an old task
which didn't have a requestor name and use the Address Book to add it, here's
what happens: the name from the address book does show up in the Requestor
text box BUT it is not saved when the task is saved.

I think there must be a way to use Item_CustomUserProperties to save the
item when the REquestor is changed, but it's not working.

Any help will be appreciated. Thanks!



  #6  
Old June 5th 08, 04:17 PM posted to microsoft.public.outlook.program_forms
BethA
external usenet poster
 
Posts: 4
Default Using the Address Book in a Custom Task Form

Yes, that makes sense. I tried it with the "To" field, and seemed to get the
same results. Is there any other field that would give the AddressBook but
not cause this problem?

Knowing it is not possible is helpful too!

Thanks,
Beth

"Sue Mosher [MVP-Outlook]" wrote:

I can duplicate that behavior. I suspect that it has something to do with the Have Replies Sent To field for a message being analogous to StatusUpdateRecipients and StatusOnCompletionRecipients, so you're using a field for an unintended purpose twice over.

In any case, I don't think that method is really workable. I'd either live with the CDO security prompts or use Redemption (http://www.dimastr.com/redemption/) to avoid the prompts.

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


"BethA" wrote in message ...
I'm sorry - I should have edited my post more carefully! You are right, it is
the CustomPropertyChange event, and I did get it working to show me
Item.UserProperties("Requestor").Value, etc. when it changed.

Outlook version is 2003, SP2, and we do have Microsoft Exchange, which I
guess can affect things too.

Thanks,
Beth

"Sue Mosher [MVP-Outlook]" wrote:

Outlook version? There is no CustomUserProperties event. The event you're thinking of is CustomPropertyChange; see http://www.outlookcode.com/article.aspx?ID=38.

What is the formula for your Requestor field?

"BethA" wrote in message ...
I am trying to use the address book to fill in a "requestor" name in a custom
task form (requestor is a custom field that we added). I found this page:

http://support.microsoft.com/kb/291147

about how to use address books in an Outlook solution.

Method 1 is using the AddressBook method. I got that to work, and it's very
nice EXCEPT for the warning that pops up about a program trying to access the
email addresses. That pop-up makes it not so useful.

So we are using method 2 and have a button which brings up an address book
bound to the "Have Replies Sent To" field and then the REquestor field is
supposed to have the initial value set to the other field and be updated
automatically. This works fine for a new task. But if we open an old task
which didn't have a requestor name and use the Address Book to add it, here's
what happens: the name from the address book does show up in the Requestor
text box BUT it is not saved when the task is saved.

I think there must be a way to use Item_CustomUserProperties to save the
item when the REquestor is changed, but it's not working.

Any help will be appreciated. Thanks!




  #7  
Old June 5th 08, 04:41 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Using the Address Book in a Custom Task Form

Not in versions before Outlook 2007. As I indicated, Redemption offers the best solution for Outlook 2003, unless you can live the CDO's security prompts.

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


"BethA" wrote in message ...
Yes, that makes sense. I tried it with the "To" field, and seemed to get the
same results. Is there any other field that would give the AddressBook but
not cause this problem?

Knowing it is not possible is helpful too!

Thanks,
Beth

"Sue Mosher [MVP-Outlook]" wrote:

I can duplicate that behavior. I suspect that it has something to do with the Have Replies Sent To field for a message being analogous to StatusUpdateRecipients and StatusOnCompletionRecipients, so you're using a field for an unintended purpose twice over.

In any case, I don't think that method is really workable. I'd either live with the CDO security prompts or use Redemption (http://www.dimastr.com/redemption/) to avoid the prompts.



"BethA" wrote in message ...
I'm sorry - I should have edited my post more carefully! You are right, it is
the CustomPropertyChange event, and I did get it working to show me
Item.UserProperties("Requestor").Value, etc. when it changed.

Outlook version is 2003, SP2, and we do have Microsoft Exchange, which I
guess can affect things too.

Thanks,
Beth

"Sue Mosher [MVP-Outlook]" wrote:

Outlook version? There is no CustomUserProperties event. The event you're thinking of is CustomPropertyChange; see http://www.outlookcode.com/article.aspx?ID=38.

What is the formula for your Requestor field?

"BethA" wrote in message ...
I am trying to use the address book to fill in a "requestor" name in a custom
task form (requestor is a custom field that we added). I found this page:

http://support.microsoft.com/kb/291147

about how to use address books in an Outlook solution.

Method 1 is using the AddressBook method. I got that to work, and it's very
nice EXCEPT for the warning that pops up about a program trying to access the
email addresses. That pop-up makes it not so useful.

So we are using method 2 and have a button which brings up an address book
bound to the "Have Replies Sent To" field and then the REquestor field is
supposed to have the initial value set to the other field and be updated
automatically. This works fine for a new task. But if we open an old task
which didn't have a requestor name and use the Address Book to add it, here's
what happens: the name from the address book does show up in the Requestor
text box BUT it is not saved when the task is saved.

I think there must be a way to use Item_CustomUserProperties to save the
item when the REquestor is changed, but it's not working.

Any help will be appreciated. Thanks!




 




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

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 07 Custom Task Form and SQL Job Outlook - Using Forms 12 September 13th 07 01:06 AM
calling custom address book from mail form Michael Mueller[_2_] Outlook - Using Forms 2 August 9th 07 05:10 PM
custom outlook task form eric.fader@gmail.com Outlook - Using Forms 1 March 20th 07 11:39 PM
Custom Task Form calvin351 Outlook - Using Forms 3 June 15th 06 03:27 AM
How to use custom task form in Web Outlook DougMunday Outlook - Using Forms 1 April 7th 06 01:18 PM


All times are GMT +1. The time now is 11:10 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2008 Outlook Banter, part of the NewsgroupBanter project.
The comments are property of their posters.
MPAA - Refinance - Mortgage - Mortgage - Refinance