View Single Post
  #5  
Old August 13th 08, 10:33 AM posted to microsoft.public.outlook.program_vba
Mads Westen
external usenet poster
 
Posts: 9
Default Appointment Field to save int value

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

"Sue Mosher [MVP-Outlook]" skrev i meddelelsen
...
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