Hi
A few years ago I worked in a CRM company and gained a lot of experience with a proprietary database system. I am familiar with database normalization and setting up table relationships. I am pretty new to Access and have a couple of questions relating to a favor I am doing for a friend- Setting up a contact database for his recruitment company. So far I have imported his data and set up a number of tables as per his specification...
1- Is it possible to set up Access for remote users, or alternatively so they can all use the same database? Currently they have 2 users in one office, and another 2 users on different sites. They do not have any servers, it's just a basic DSL connection via a Broadband Router, and I am not sure if VPN would provide enough bandwidth.
2- I would like to set up the email field with a button that will send an Email to the address displayed using Outlook. Is it possible and if so how do I do it?
3- I also would like the capability of archiving word documents, which I guess would be done in a similar way to point 2.
many thanks
Chris
3 1213
Hi
A few years ago I worked in a CRM company and gained a lot of experience with a proprietary database system. I am familiar with database normalization and setting up table relationships. I am pretty new to Access and have a couple of questions relating to a favor I am doing for a friend- Setting up a contact database for his recruitment company. So far I have imported his data and set up a number of tables as per his specification...
1- Is it possible to set up Access for remote users, or alternatively so they can all use the same database? Currently they have 2 users in one office, and another 2 users on different sites. They do not have any servers, it's just a basic DSL connection via a Broadband Router, and I am not sure if VPN would provide enough bandwidth.
Although theoretically Access can create Data Access Pages which can be web enabled it is not a very successful or efficient method. However, Access can be used as a backend with a number of web frontend systems. VPN might actually be your best option.
2- I would like to set up the email field with a button that will send an Email to the address displayed using Outlook. Is it possible and if so how do I do it?
Depends on the requirements. The DoCmd.SendObject code is the simplest method of doing this. The syntax is as follows:
DoCmd.SendObject [ objecttype][, objectname][, outputformat][, to][, cc][, bcc][, subject][, messagetext][, editmessage][, templatefile]
3- I also would like the capability of archiving word documents, which I guess would be done in a similar way to point 2.
There are a number of options here. You can use a copyfile function. You can link the documents to the database using an OLE Object type field. Don't embed as it will increase the size of the database.
Many thanks for you reply, it's been a while since I have used VB in anger but i'll dust off the cobwebs and give it a go...
thanks
Chris
Sending e-mail using a button in VB will be easy enough. The biggest problem I have run into is using the data access pages. As Mary pointed out there are many other ways to get around using them. From what I have learned, you have to use IIS, the MS web server, to host the pages for things to work correctly. You can try to make the page available on a network shared folder but I have run into all kinds of problems doing it.
Here is an example of my e-mail button on a form. -
Private Sub CMDemail_Click()
-
Dim strToWhom As String
-
Dim strSubject As String
-
Dim strBody As String
-
Dim strMsgBody As String
-
Dim intSeeOutlook As Integer
-
Dim strComment As String
-
-
'check to see if there are comments for the salesperson.
-
-
strComment = IIf(Nz([emailcomments]) = vbNullString, "", "--Please Check for comments.")
-
-
[notifyCheck] = True
-
strToWhom = [email]
-
-
strSubject = "WO# " & [wo number] & " is complete" & " " & strComment
-
-
-
strBody = "Kight Door Shop" & vbCrLf & Date & vbCrLf & vbCrLf & [Customer Name] & " | " & [job name] & " | WO # " & [wo number] & " | is complete." & vbCrLf & vbCrLf & "Comments:" & vbCrLf & [emailcomments]
-
-
'strMsgBody = "Hello?"
-
'strToWhom = "whoever@whoever.com"
-
'strSubject = "This is a test"
-
'strBody = "This is a test"
-
-
DoCmd.SendObject , , , strToWhom, , , strSubject, strBody, intSeeOutlook
-
-
End Sub
[email], [wo number], [job name], [customer name], and [emailcomments] are all fields from the form's record source. You can use whatever you like to accomplish your goals.
Have Fun,
James
Sign in to post your reply or Sign up for a free account.
Similar topics
by: chicha |
last post by:
Hey people,
I have to convert MS Access 2000 database into mysql database, the whole
thing being part of this project I'm doing for one of my faculty
classes. My professor somehow presumed I...
|
by: Wayne Aprato |
last post by:
I have a client who is running several Access 97 databases that I have
written for them. They are about to upgrade to Access 2003. Is the
default file format of Access 2003 still Access 2000 the...
|
by: Danny |
last post by:
I want to buy the latest version of ms access.
Will this version let me create an mdb that will work with a lesser version
such as 2000, I am having a problem going from 2002 to 2000. The mde will...
|
by: Neil Ginsberg |
last post by:
I have a client who is using Access 2002/2000 (the database itself is
written in 2000), and is considering migrating to Access 2003. Any
recommendations on whether Access 2003 is worth the migrate,...
|
by: ship |
last post by:
Hi
We need some advice: We are thinking of upgrading our Access database
from Access 2000 to Access 2004.
How stable is MS Office 2003? (particularly Access 2003).
We are just a small...
|
by: Cheryl Langdon |
last post by:
Hello everyone,
This is my first attempt at getting help in this manner. Please
forgive me if this is an inappropriate request.
I suddenly find myself in urgent need of instruction on how to...
|
by: Mell via AccessMonster.com |
last post by:
Is there a way to find out where an application was created from?
i.e. - work or home
i.e. - if application sits on a (work) server/network, the IT people know the
application is sitting...
|
by: Reggie |
last post by:
Hi and TIA. I developed several A2K dbs which are now being run on my
clients computer which have been upgraded to Access 03. I'm not sure
exactly what they mean but of you know or could point me...
|
by: Wayne |
last post by:
I've been having a click around Access 2007 this afternoon and have
discovered some things that range from annoying to alarming. My
Access 2003 menu bars, which I, like many others, use...
|
by: prn |
last post by:
Hi folks,
I'm relatively new to Access, but I seem to have drawn the short straw, so I have the assignment for my workplace of looking for problems/inconsistencies in migrating applications to...
|
by: ryjfgjl |
last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: Hystou |
last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
|
by: Oralloy |
last post by:
Hello folks,
I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>".
The problem is that using the GNU compilers,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
| |