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

Tags: , , , , ,

Populate Outlook 2003 Custom Form from Access 2003





 
 
Thread Tools Display Modes
  #1  
Old May 21st 07, 09:42 PM posted to microsoft.public.outlook.program_forms
Kujp Sucisv
external usenet poster
 
Posts: 1
Default Populate Outlook 2003 Custom Form from Access 2003

BACKGROUND
I have an Access 2003 database that contains information on the location of
other Access 2003 databases on our servers and the size of those databases. I
am using VBA to open a custom form in Outlook 2003 to email to the users who
have databases out on the various servers to gather information concerning
their databases, such as: the purpose for having the database, benefits
having the database offers, etc. I am using VBScript via a button on the form
to collect the information and send it to a SQL Server 2000 database to be
evaluated.

PROBLEM
The problem I am having is that there is certain information contained in
the Access 2003 database (username, filename, filepath, size) that I would
like to dynamically populate the custom form with, but I am not sure how to
do that. I am not even sure if you can modify the custom form before sending
it?? Ideally, I would like to create some text boxes that I will poopulate
with the username, filename, filepath and databasesize and then disable them
so that the user cannot change their value. That way I can extract the data
via the VBScript into the SQL Server database.

Please let me know if anyone has any ideas or suggestions. I greatly
appreciate you time. Thank you.
Ads
  #2  
Old May 21st 07, 10:20 PM posted to microsoft.public.outlook.program_forms
Sue Mosher [MVP-Outlook]
external usenet poster
 
Posts: 11,651
Default Populate Outlook 2003 Custom Form from Access 2003

"Sending it?" You're not going to be able to use a custom Outlook form to gather data this way unless you can publish it to the Organizational Forms library on the Exchagne server. If you meet that prerequisite, then you can use ADO code in the form's script to connect to the database, get data from records, and set Outlook property values. Since you apparently already know database code, the info you probably need about Outlook property syntax is he http://www.outlookcode.com/article.aspx?ID=38

--
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

"Kujp Sucisv" wrote in message ...
BACKGROUND
I have an Access 2003 database that contains information on the location of
other Access 2003 databases on our servers and the size of those databases. I
am using VBA to open a custom form in Outlook 2003 to email to the users who
have databases out on the various servers to gather information concerning
their databases, such as: the purpose for having the database, benefits
having the database offers, etc. I am using VBScript via a button on the form
to collect the information and send it to a SQL Server 2000 database to be
evaluated.

PROBLEM
The problem I am having is that there is certain information contained in
the Access 2003 database (username, filename, filepath, size) that I would
like to dynamically populate the custom form with, but I am not sure how to
do that. I am not even sure if you can modify the custom form before sending
it?? Ideally, I would like to create some text boxes that I will poopulate
with the username, filename, filepath and databasesize and then disable them
so that the user cannot change their value. That way I can extract the data
via the VBScript into the SQL Server database.

Please let me know if anyone has any ideas or suggestions. I greatly
appreciate you time. Thank you.

 




Thread Tools
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
Use field in outlook custom form to populate excel sheet Jade Outlook - Using Forms 1 November 29th 06 10:38 PM
Is it possible to open the default Contact form with the Activities tab activated from a custom form? VSTO 2005, Outlook 2003 David Webb Outlook and VBA 1 June 20th 06 10:59 PM
Outlook 2002 custom form on 2003 Chrys Outlook - Using Forms 6 January 30th 06 09:56 PM
Populate Company field from Contact field in custom task form Sue Mosher [MVP-Outlook] Outlook - Using Forms 0 January 20th 06 08:37 PM
Can custom form data populate access database jbtempe Outlook - Using Forms 1 January 20th 06 04:02 PM


All times are GMT +1. The time now is 04:03 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.Search Engine Friendly URLs by vBSEO 2.4.0
Copyright ©2004-2008 Outlook Banter, part of the NewsgroupBanter project.
The comments are property of their posters.
Electricity Suppliers - Web Advertising - Online Advertising - Mortgages - Personal Loans