473,498 Members | 1,907 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Word form can link to Access db, as a data entry form?

Is it possible to create a Word form as the data entry form for an
Access database? I didn't see any reference to this possibility in my
Access books, so I'm sorry if this is a question that is rather
off-the-wall. I was asked to ask this question, to see if a Word form
can be linked to an Access database and then emailed to various
end-users for them to complete task requests using this form.
Nov 12 '05 #1
3 3793
"intl04" <kr***@hotmail.com> wrote in message
news:41**************************@posting.google.c om...
Is it possible to create a Word form as the data entry form for an
Access database?
Do you mean you want to import data from a Word form that you have
distributed to users?
I didn't see any reference to this possibility in my
Access books, so I'm sorry if this is a question that is rather
off-the-wall. I was asked to ask this question, to see if a Word form
can be linked to an Access database
Mail merge?

Linked can mean many things:)
and then emailed to various
Now this is what I need to know... how to do a mail merge then email each
seperate merged page to that person's email addresses???
end-users for them to complete task requests using this form.


Do you then want that data to go back in your database??

If it were me, I'd consider setting up a web page form directly linked to my
database (or another database that I can import from if I want to keep my
other data elsewhere) :)

If you only want to generate a form in Word that is static (send to users
for them to view) then probably easiest to create a report and use
DoCmd.SendObjects to email it to each user....
--
Bradley
Software Developer www.hrsystems.com.au
A Christian Response www.pastornet.net.au/response

Nov 12 '05 #2
Bradley,

You said in another post --

<A simple way to do it is to embed a connect string to your
database that your code uses to access your database then use code to
determine what the person can see/access.>>

Can you give a simple but practicle example on how to do this?

Thanks!

Steve

"Bradley" <br*****@REMOVETHIScomcen.com.au> wrote in message
news:40******@nexus.comcen.com.au...
"intl04" <kr***@hotmail.com> wrote in message
news:41**************************@posting.google.c om...
Is it possible to create a Word form as the data entry form for an
Access database?


Do you mean you want to import data from a Word form that you have
distributed to users?
I didn't see any reference to this possibility in my
Access books, so I'm sorry if this is a question that is rather
off-the-wall. I was asked to ask this question, to see if a Word form
can be linked to an Access database


Mail merge?

Linked can mean many things:)
and then emailed to various


Now this is what I need to know... how to do a mail merge then email each
seperate merged page to that person's email addresses???
end-users for them to complete task requests using this form.


Do you then want that data to go back in your database??

If it were me, I'd consider setting up a web page form directly linked to my
database (or another database that I can import from if I want to keep my
other data elsewhere) :)

If you only want to generate a form in Word that is static (send to users
for them to view) then probably easiest to create a report and use
DoCmd.SendObjects to email it to each user....
--
Bradley
Software Developer www.hrsystems.com.au
A Christian Response www.pastornet.net.au/response

Nov 12 '05 #3
(Note: this is a very quick, simplified and off handed explanation!:)

All you do is insert VB code into a HTML document. This code is being passed
a value for Personnel_no and CompanyNumber which has been set when the user
logged in. This is then used to show data for that employee.

eg.

Code is surrounded by <% %>
An equal sign will return the result of the code into the resulting HTML
document
eg. <%= rsEmp![EmployeeName]%>

---------------------------------------
<%@LANGUAGE="VBSCRIPT" CODEPAGE="1252"%>
<%
Dim MM_core_STRING
MM_core_STRING = "DRIVER={SQL
Server};SERVER=INSERTSERVERNAME;DATABASE=INSERTDAT ABASENAME;UID=INSERTUSERNA
ME;Password=INSERTPASSWORD"
response.expires = 0
dim rsEmp
dim mySQL
dim pid
dim cid
dim company
pid = session("pid")
cid = session("cid")
company = session("company")
mySQL = "SELECT * FROM tblSPStatement WHERE [Personnel_no]='" & pid & "' And
[CompanyNumber] = '" & cid & "';"
Set rsEmp = Server.CreateObject("ADODB.Recordset")
rsEmp.ActiveConnection = MM_core_STRING
rsEmp.Source = mySQL
rsEmp.CursorType = 0
rsEmp.CursorLocation = 2
rsEmp.LockType = 1
rsEmp.Open()
%>
<html>
<head>
</head>
<body>
<%
Do Until rsEmp.EOF
%>
<p> <%= rsEmp![EmployeeName]%> </p>
<%
rsEmp.MoveNext
Loop
%>

</body>
</html>
---------------------------------------

I'm sure there are lots of web site that explain how to build ASP pages
better than I:)

--
Bradley
Software Developer www.hrsystems.com.au
A Christian Response www.pastornet.net.au/response
"PC Datasheet" <sp**@spam.nospam> wrote in message
news:gp*******************@newsread3.news.atl.eart hlink.net...
Bradley,

You said in another post --

<A simple way to do it is to embed a connect string to your
database that your code uses to access your database then use code to
determine what the person can see/access.>>

Can you give a simple but practicle example on how to do this?

Thanks!

Steve

"Bradley" <br*****@REMOVETHIScomcen.com.au> wrote in message
news:40******@nexus.comcen.com.au...
"intl04" <kr***@hotmail.com> wrote in message
news:41**************************@posting.google.c om...
Is it possible to create a Word form as the data entry form for an
Access database?


Do you mean you want to import data from a Word form that you have
distributed to users?
I didn't see any reference to this possibility in my
Access books, so I'm sorry if this is a question that is rather
off-the-wall. I was asked to ask this question, to see if a Word form
can be linked to an Access database


Mail merge?

Linked can mean many things:)
and then emailed to various


Now this is what I need to know... how to do a mail merge then email each seperate merged page to that person's email addresses???
end-users for them to complete task requests using this form.


Do you then want that data to go back in your database??

If it were me, I'd consider setting up a web page form directly linked to my database (or another database that I can import from if I want to keep my other data elsewhere) :)

If you only want to generate a form in Word that is static (send to users for them to view) then probably easiest to create a report and use
DoCmd.SendObjects to email it to each user....
--
Bradley
Software Developer www.hrsystems.com.au
A Christian Response www.pastornet.net.au/response


Nov 12 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
1386
by: kg7poe | last post by:
I'd like to create a database and use an existing word doc as my form. I can just enter the data and then hit print and it prints out the form with the customers data on it. HOW????
8
3484
by: Mike MacSween | last post by:
tblCourses one to many to tblEvents. A course may have an intro workshop (a type of event), a mid course workshop, a final exam. Or any combination. Or something different in the future. At...
1
2376
by: KC | last post by:
Hello, I am using Access 2002. WinXP, Template from MS called Orders Mgmt DB. I have tweaked this DB to work for our small co. It has worked pretty well up until I made the mistake of deleting...
4
3493
by: John Boy | last post by:
Hi, Can anyone help. This is really doing my nut in. 3 years ASP exp. and now doing .DOT which is a step in the wrong direction. Basically I am left with the code of a guy who has left. When I...
1
2687
by: rick m | last post by:
We have an access DB that 2 input people use to tracking incoming patients. There is a form for them to do this but they find it confusing to use (it's plainly laid out, no one else complains about...
2
3353
by: Colin Halliday | last post by:
I have a Word 2003 mail merge main document (form letter) that is linked to another Word document data source for the mail merge. If I open this doc using the Word GUI, it first asks me to...
4
12411
by: etuncer | last post by:
Hello All, I have Access 2003, and am trying to build a database for my small company. I want to be able to create a word document based on the data entered through a form. the real question is...
3
3154
by: Robertf987 | last post by:
Well, I think I've described what I want to do in the title here. In the database, I have two main tables that contain the main data for the database. One for group expenditures, another for...
6
6750
by: nagar | last post by:
I need to get the list of Autocorrect entries in word. Is there a way to do it without connecting to Word? Is the list saved somewhere? If I need to connect to Word, how can I detect if it's...
0
7125
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7004
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...
0
7167
Oralloy
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,...
0
7208
jinu1996
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...
1
6890
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
5464
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4593
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3095
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3085
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.