Having Problem with adding a value to a field

G

Gaara

Hi there

I'm Using Outlook 2003 On Xpsp1
I've created a form and i added to him a field and called it 'Id'.
in the script editor i want when the user closes the form the field Id will
be filled automaticlly From a certain database.

I've managed to get the id from the database, but i got stuck with how do i
make the 'Id' Field in my form to be filled automaticlly from the Database..

Can Some1 Please Help me...?
 
S

Sue Mosher [MVP-Outlook]

Use the UserProperties collection to access your custom property, e.g.:

Item.UserProperties("Id") = some_value_from_database

See http://www.outlookcode.com/d/propsyntax.htm for more information on Outlook property syntax.

--
Sue Mosher, Outlook MVP
Author of Configuring Microsoft Outlook 2003

and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top