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

Having Problem with adding a value to a field



 
 
Thread Tools Search this Thread Display Modes
  #1  
Old August 15th 06, 08:51 PM posted to microsoft.public.outlook.program_forms
Gaara
external usenet poster
 
Posts: 1
Default Having Problem with adding a value to a field

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...?
Ads
  #2  
Old August 15th 06, 09:06 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Having Problem with adding a value to a field

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
http://www.turtleflock.com/olconfig/index.htm
and Microsoft Outlook Programming - Jumpstart for
Administrators, Power Users, and Developers
http://www.outlookcode.com/jumpstart.aspx

"Gaara" wrote in message news
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...?

 




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
Notes Field - Adding Default Text srm Outlook - Using Forms 4 June 20th 06 01:20 PM
problem in adding value to custom field in inbox Zoom Outlook and VBA 1 May 28th 06 02:40 PM
Adding field in Opportunities (BCM) shows no value Anders Eriksson Outlook - General Queries 3 March 8th 06 02:34 PM
Adding Follow Up field to Field Chooser Programatically. c Outlook and VBA 3 February 25th 06 03:10 PM
Adding field in View Diane Poremsky [MVP] Outlook - Using Contacts 0 January 12th 06 03:14 AM


All times are GMT +1. The time now is 10:07 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.