Appointment Field to save int value

  • Thread starter Thread starter Mads Westen
  • Start date Start date
M

Mads Westen

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.

Regards

//MW
 
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
 
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
 
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
 
Thanks once again,
Billinginformation will do with some INT 2 String and vise versa functions.
I'll use the Find Function, seems to work just fine.

Regards
Mads
 
Back
Top