![]() |
| 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. |
|
|||||||
| Tags: address, book, custom, form, task, using |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
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
|
|||
|
|||
|
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 | |
|
|
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 |