![]() |
| 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. |
|
|||||||
| Tags: 2003, access, custom, form, outlook, populate |
|
|
Thread Tools | Display Modes |
|
#1
|
|||
|
|||
|
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
|
|||
|
|||
|
"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 | |
|
|
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 |