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 and VBA
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

NULL



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old July 6th 09, 06:33 PM posted to microsoft.public.outlook.program_vba
Joel Allen
external usenet poster
 
Posts: 117
Default NULL

Outlook 2003
SP3

Hello,

How do I make a property NULL. This isn't working:

item.userproperties("test") = NULL

Can someone help me with the syntax?

Thanks,
Joel


Ads
  #2  
Old July 6th 09, 07:13 PM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default NULL

Do you mean you need to remove a user property? Why not call
UserProperty.Delete?

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Joel Allen" wrote in message
...
Outlook 2003
SP3

Hello,

How do I make a property NULL. This isn't working:

item.userproperties("test") = NULL

Can someone help me with the syntax?

Thanks,
Joel



  #3  
Old July 6th 09, 08:06 PM posted to microsoft.public.outlook.program_vba
Joel Allen
external usenet poster
 
Posts: 117
Default NULL

Can I enter a value in the field later, or does it permanently delete the
field? Will it one off the form?

Thanks,
Joel

"Dmitry Streblechenko" wrote in message
...
Do you mean you need to remove a user property? Why not call
UserProperty.Delete?

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Joel Allen" wrote in message
...
Outlook 2003
SP3

Hello,

How do I make a property NULL. This isn't working:

item.userproperties("test") = NULL

Can someone help me with the syntax?

Thanks,
Joel





  #4  
Old July 8th 09, 08:47 AM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default NULL

Yes, you can enter the value later.
Adding a user peoepry using UserProperties.Add does not one-off an item.

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Joel Allen" wrote in message
...
Can I enter a value in the field later, or does it permanently delete the
field? Will it one off the form?

Thanks,
Joel

"Dmitry Streblechenko" wrote in message
...
Do you mean you need to remove a user property? Why not call
UserProperty.Delete?

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Joel Allen" wrote in message
...
Outlook 2003
SP3

Hello,

How do I make a property NULL. This isn't working:

item.userproperties("test") = NULL

Can someone help me with the syntax?

Thanks,
Joel







  #5  
Old July 8th 09, 02:06 PM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP][_3_]
external usenet poster
 
Posts: 465
Default NULL

Actually, using UserProperties.Add on a custom form item will indeed one-off
the item. Outlook has to store the field definition in the item, because
it's not in the form.

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


"Dmitry Streblechenko" wrote in message
...
Yes, you can enter the value later.
Adding a user peoepry using UserProperties.Add does not one-off an item.


-
"Joel Allen" wrote in message
...
Can I enter a value in the field later, or does it permanently delete the
field? Will it one off the form?

Thanks,
Joel

"Dmitry Streblechenko" wrote in message
...
Do you mean you need to remove a user property? Why not call
UserProperty.Delete?
-
"Joel Allen" wrote in message
...
Outlook 2003
SP3

Hello,

How do I make a property NULL. This isn't working:

item.userproperties("test") = NULL

Can someone help me with the syntax?

Thanks,
Joel









  #6  
Old July 9th 09, 08:22 AM posted to microsoft.public.outlook.program_vba
Dmitry Streblechenko
external usenet poster
 
Posts: 2,116
Default NULL

Ah! I am starting to forget wonderful Outlook forms:-)

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool
-
"Sue Mosher [MVP]" wrote in message
...
Actually, using UserProperties.Add on a custom form item will indeed
one-off the item. Outlook has to store the field definition in the item,
because it's not in the form.

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


"Dmitry Streblechenko" wrote in message
...
Yes, you can enter the value later.
Adding a user peoepry using UserProperties.Add does not one-off an item.


-
"Joel Allen" wrote in message
...
Can I enter a value in the field later, or does it permanently delete
the field? Will it one off the form?

Thanks,
Joel

"Dmitry Streblechenko" wrote in message
...
Do you mean you need to remove a user property? Why not call
UserProperty.Delete?
-
"Joel Allen" wrote in message
...
Outlook 2003
SP3

Hello,

How do I make a property NULL. This isn't working:

item.userproperties("test") = NULL

Can someone help me with the syntax?

Thanks,
Joel











  #7  
Old July 9th 09, 02:57 PM posted to microsoft.public.outlook.program_vba
Ken Slovak - [MVP - Outlook]
external usenet poster
 
Posts: 5,848
Default NULL

If I could only be so lucky... g

--
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


"Dmitry Streblechenko" wrote in message
...
Ah! I am starting to forget wonderful Outlook forms:-)

--
Dmitry Streblechenko (MVP)
http://www.dimastr.com/
OutlookSpy - Outlook, CDO
and MAPI Developer Tool


 




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
Inspector.WordEditor always returns null Peter O'Dowd \(MVP\) Add-ins for Outlook 3 May 1st 09 06:21 PM
Restrict() method and Null values Craig Buchanan[_2_] Add-ins for Outlook 3 December 16th 08 05:04 PM
NULL event item ? Mark Beiley Add-ins for Outlook 0 September 19th 07 12:46 AM
Windows cannot find '(null)' [email protected] Outlook Express 4 April 13th 07 03:40 AM
Null Contacts returned from MAPFolder.Items [email protected] Outlook - Using Contacts 5 May 15th 06 05:21 PM


All times are GMT +1. The time now is 04:25 PM.


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.