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

Combo Box Values in Custom Form



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old August 29th 07, 10:24 AM posted to microsoft.public.outlook.program_forms
thequietDOMINO
external usenet poster
 
Posts: 13
Default Combo Box Values in Custom Form

Hi,
I have a custom form with two combo boxes which are programmatically
populated with values using the .AddItem method from an Access database
before being sent. The combo boxes are each bound to a separate User Defined
Field. I can see the values in the drop downs before the email is sent, but
then when it is received the combo boxes are blank. Also, if I open up the
sent item, the combo boxes are no longer populated.
Ads
  #2  
Old August 29th 07, 08:49 PM posted to microsoft.public.outlook.program_forms
Hollis Paul
external usenet poster
 
Posts: 242
Default Combo Box Values in Custom Form

In article ,
=?Utf-8?B?dGhlcXVpZXRET01JTk8=?= wrote:
I have a custom form with two combo boxes which are programmatically
populated with values using the .AddItem method from an Access database
before being sent. The combo boxes are each bound to a separate User Defined
Field. I can see the values in the drop downs before the email is sent, but
then when it is received the combo boxes are blank. Also, if I open up the
sent item, the combo boxes are no longer populated.

You need to force the email to be sent using the TNEF wrapper. This is done by
setting the "Always send to this recipient using rtf" property.

--
Hollis Paul
Mukilteo, WA USA


  #3  
Old August 30th 07, 06:54 AM posted to microsoft.public.outlook.program_forms
thequietDOMINO
external usenet poster
 
Posts: 13
Default Combo Box Values in Custom Form

Thanks for your response. However, my company has created some sort of custom
form that displays when I click on the email address. Is there any other way
to set this property, perhaps programmatically?
--
The beatings will continue until morale improves.


"Hollis Paul" wrote:

In article ,
=?Utf-8?B?dGhlcXVpZXRET01JTk8=?= wrote:
I have a custom form with two combo boxes which are programmatically
populated with values using the .AddItem method from an Access database
before being sent. The combo boxes are each bound to a separate User Defined
Field. I can see the values in the drop downs before the email is sent, but
then when it is received the combo boxes are blank. Also, if I open up the
sent item, the combo boxes are no longer populated.

You need to force the email to be sent using the TNEF wrapper. This is done by
setting the "Always send to this recipient using rtf" property.

--
Hollis Paul
Mukilteo, WA USA



  #4  
Old August 30th 07, 04:11 PM posted to microsoft.public.outlook.program_forms
Hollis Paul
external usenet poster
 
Posts: 242
Default Combo Box Values in Custom Form

In article ,
=?Utf-8?B?dGhlcXVpZXRET01JTk8=?= wrote:
Thanks for your response. However, my company has created some sort of custom
form that displays when I click on the email address. Is there any other way
to set this property, perhaps programmatically?

Perhaps you should go back to square one and start the tale from there. You
have a form, which I have assumed is an Outlook form. Is it really an Outlook
form? What version of Outlook is being used, if it is being used? Are you sure
it is not an Access form? It displays when you click on an email address?
Where is that email address? Is it in an Access table, perhaps?

We can play 20 questions, if you insist, but it will probably take 20 days to
get through the all. Were I a dentist, and I had to pull 20 teeth, it would
probably be better to do them in one sitting, or perhaps two or three; but
surely not 20.

--
Hollis Paul
Mukilteo, WA USA


  #5  
Old August 31st 07, 01:34 PM posted to microsoft.public.outlook.program_forms
thequietDOMINO
external usenet poster
 
Posts: 13
Default Combo Box Values in Custom Form

Okay, here's the barebones of my problem:
1. I have designed a Custom Form in Outlook 2003.
2. This form has two combo boxes that are populated programmatically from an
Access database.
3. When I send the form, the values in the combo box are not retained.
4. Your suggestion was that it needs to be sent using the TNEF wrapper by
selecting the "Always send to this recipient using rtf" option, which is
found by selecting the properties of any email address as listed in the To:
field.
5. I believe that my company has made some sort of modification to the
window that is displayed when a user selects the properties of an email
address (either by double-clicking the email address in the To: field, or by
clicking on the email address in Contacts) so that there are several custom
fields, none of which are the original "Always send to this recipient using
rtf" option.
6. Is there another way to have this option selected besides by selecting it
through the email address properties?
Thanks
--
The beatings will continue until morale improves.


"Hollis Paul" wrote:

In article ,
=?Utf-8?B?dGhlcXVpZXRET01JTk8=?= wrote:
Thanks for your response. However, my company has created some sort of custom
form that displays when I click on the email address. Is there any other way
to set this property, perhaps programmatically?

Perhaps you should go back to square one and start the tale from there. You
have a form, which I have assumed is an Outlook form. Is it really an Outlook
form? What version of Outlook is being used, if it is being used? Are you sure
it is not an Access form? It displays when you click on an email address?
Where is that email address? Is it in an Access table, perhaps?

We can play 20 questions, if you insist, but it will probably take 20 days to
get through the all. Were I a dentist, and I had to pull 20 teeth, it would
probably be better to do them in one sitting, or perhaps two or three; but
surely not 20.

--
Hollis Paul
Mukilteo, WA USA



  #6  
Old August 31st 07, 01:40 PM posted to microsoft.public.outlook.program_forms
thequietDOMINO
external usenet poster
 
Posts: 13
Default Combo Box Values in Custom Form

Not sure if this is relevant, but I also have a textbox on the form that is
populated from Access as well, and this field retains the values when sent.
All controls are bound to User Defined Fields.
--
The beatings will continue until morale improves.


"thequietDOMINO" wrote:

Okay, here's the barebones of my problem:
1. I have designed a Custom Form in Outlook 2003.
2. This form has two combo boxes that are populated programmatically from an
Access database.
3. When I send the form, the values in the combo box are not retained.
4. Your suggestion was that it needs to be sent using the TNEF wrapper by
selecting the "Always send to this recipient using rtf" option, which is
found by selecting the properties of any email address as listed in the To:
field.
5. I believe that my company has made some sort of modification to the
window that is displayed when a user selects the properties of an email
address (either by double-clicking the email address in the To: field, or by
clicking on the email address in Contacts) so that there are several custom
fields, none of which are the original "Always send to this recipient using
rtf" option.
6. Is there another way to have this option selected besides by selecting it
through the email address properties?
Thanks
--
The beatings will continue until morale improves.


"Hollis Paul" wrote:

In article ,
=?Utf-8?B?dGhlcXVpZXRET01JTk8=?= wrote:
Thanks for your response. However, my company has created some sort of custom
form that displays when I click on the email address. Is there any other way
to set this property, perhaps programmatically?

Perhaps you should go back to square one and start the tale from there. You
have a form, which I have assumed is an Outlook form. Is it really an Outlook
form? What version of Outlook is being used, if it is being used? Are you sure
it is not an Access form? It displays when you click on an email address?
Where is that email address? Is it in an Access table, perhaps?

We can play 20 questions, if you insist, but it will probably take 20 days to
get through the all. Were I a dentist, and I had to pull 20 teeth, it would
probably be better to do them in one sitting, or perhaps two or three; but
surely not 20.

--
Hollis Paul
Mukilteo, WA USA



  #7  
Old August 31st 07, 04:36 PM posted to microsoft.public.outlook.program_forms
Hollis Paul
external usenet poster
 
Posts: 242
Default Combo Box Values in Custom Form

In article ,
=?Utf-8?B?dGhlcXVpZXRET01JTk8=?= wrote:
4. Your suggestion was that it needs to be sent using the TNEF wrapper by
selecting the "Always send to this recipient using rtf" option, which is
found by selecting the properties of any email address as listed in the To:
field.

6. Is there another way to have this option selected besides by selecting it
through the email address properties?

In Outlook 2003, this is done by opening the contact form for the recipient
(from the contacts folder), right-clicking the email address that is being
used, and choosing Outlook properties. Once that panel opens there is a
drop-down list box at the bottom that is labeled "Internet Format". The third
option in that list is "Send using Outlook Rich Text Format". Select that
option and do a test send to see if the data is retained as you expect.





--
Hollis Paul
Mukilteo, WA USA


  #8  
Old August 31st 07, 04:36 PM posted to microsoft.public.outlook.program_forms
Hollis Paul
external usenet poster
 
Posts: 242
Default Combo Box Values in Custom Form

In article ,
=?Utf-8?B?dGhlcXVpZXRET01JTk8=?= wrote:
Not sure if this is relevant, but I also have a textbox on the form that is
populated from Access as well, and this field retains the values when sent.
All controls are bound to User Defined Fields.
--

1. I have designed a Custom Form in Outlook 2003.

You need to tell what the name of the form, to which you made your changes,
is. Which was it? A contacts form, a message form, or ...?
If this is the control named Notes or body, or something like that, then one
would expect that to work properly, as it is the primary payload of an email
message.
The beatings will continue until morale improves.

Of course. That is the way it works. But note, we are talking about the
morale of the beater, not the beatee.

--
Hollis Paul
Mukilteo, WA USA


  #9  
Old August 31st 07, 05:00 PM posted to microsoft.public.outlook.program_forms
thequietDOMINO
external usenet poster
 
Posts: 13
Default Combo Box Values in Custom Form


In Outlook 2003, this is done by opening the contact form for the recipient
(from the contacts folder), right-clicking the email address that is being
used, and choosing Outlook properties. Once that panel opens there is a
drop-down list box at the bottom that is labeled "Internet Format". The third
option in that list is "Send using Outlook Rich Text Format". Select that
option and do a test send to see if the data is retained as you expect.


1. My form is based on the message form.
2. When I right-click on the email address in Contacts, a different "panel"
or form or window or whatever comes up than the standard one. This modified
panel does not have any of the standard options on it. Is there any other way
to designate the rtf format?
Thanks
  #10  
Old August 31st 07, 09:21 PM posted to microsoft.public.outlook.program_forms
Hollis Paul
external usenet poster
 
Posts: 242
Default Combo Box Values in Custom Form

In article ,
=?Utf-8?B?dGhlcXVpZXRET01JTk8=?= wrote:
2. When I right-click on the email address in Contacts, a different "panel"
or form or window or whatever comes up than the standard one. This modified
panel does not have any of the standard options on it. Is there any other way
to designate the rtf format?

Are you actually opening a contact first? Are you just finding the name in the
Contacts folder, right-clicking that, and getting a list like Open, Print,
Forward, New Message to Contact? If it is not that, what do you actually see?

If you open a contact item, go to the "All Fields" tab, select all Contact
Fields in the field category selector, and then look at MessageClass. If it is
not "IPM.Contact", without the quotes, then you may have to redesign that custom
form also.

There used to be a setting in the Message Options so that you could force rtf
format when sending the message, but I am not finding that in a new message
here. It is possible that it can be set in code in the Item_Send event, using
the Message Properties collection, but I have never done that, and can't say how
it is done. You have to look up what is available in the Outlook Object model.
Do you know how to code using the Outlook Object model?
--
Hollis Paul
Mukilteo, WA USA


 




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
copy values from one to another form Dasha Outlook and VBA 5 February 8th 07 06:13 AM
Combo Box values resetting [email protected] Outlook - Using Forms 2 October 31st 06 04:01 PM
SentOnBehalfOfName-Custom reply form with OnBehalfAddress in combo Nathan Outlook - Using Forms 1 July 19th 06 10:45 PM
Custom Form doesn't have any values in another Calendar ML Outlook - Using Forms 3 April 13th 06 08:41 PM
Get values of custom variables from customised contact form Michael Anderson Outlook and VBA 1 February 6th 06 09:06 PM


All times are GMT +1. The time now is 11:49 AM.


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.