View Single Post
  #4  
Old August 13th 08, 12:11 AM posted to microsoft.public.outlook.program_vba
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Appointment Field to save int value

If you're looking for a unique value, Find would work fine. Otherwise, it's a
toss-up. Note that values in BillingInformation are strings, not the INT
(integer, I presume) you originally asked about.
--
Sue Mosher, Outlook MVP
Author of Microsoft Outlook Programming: Jumpstart
for Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Mads Westen" wrote:

Thank you for your reply.
I found out that Billinginformation wasn't used, and found it easy to use
that.

However now I need a way to find an appointment from the billinginformation
id.
Is it best to use Find method, or Restrict?
I need to search through more than one users calendars.

Regards
MW

"Sue Mosher [MVP-Outlook]" skrev i meddelelsen
...
Use the AppointmentItem.UserProperties.Add method to add a custom integer
property to each item:

Set myProp = myAppt.UserProperties.Add("my property", olInteger)
myProp.Value = 1


"Mads Westen" wrote:

Hi,

I'm using Outlook as calendar through another program.
I need to save an INT value in a field of the Appointment item. It
doesn't
matter that the field isn't visible in standard view.
Currently I'm using Location and Subject. The body field is going to be
implemented.




Ads