how to insert a microsoft word into a form of a database

G

Guest

I need to insert a microsoft word template into a form so that I can display
the information of the table onto this form instead of redesign this
template. Please help. Thank you.
H. Nguyen
 
V

Vincent Johns

H. Nguyen said:
I need to insert a microsoft word template into a form so that I can display
the information of the table onto this form instead of redesign this
template. Please help. Thank you.
H. Nguyen

There are probably many ways to do this, but what I normally do is
something like this...

- display your template as a blank document
- display it in "Full Screen" mode
- be sure the entire document is visible (reduce the zoom factor if
necessary)
- use "Print Screen" to capture what you see
- open Paintbrush or similar graphic editing program
- paste the saved image into it
- edit it to remove menus, mouse pointer, &c.
- save it to disk in a suitable format, such as .JPG or .BMP
- in Access, set the Form's "Picture" property to point to the saved file
- set related properties suitably
- place controls on your Form so that they fit the image

You'll need to be a bit careful, as this background image is NOT tied to
any objects you place on the Form, so if you modify the Form's
dimensions, the image might shift. (You might want to choose "Top Left"
alignment.)

Another possibility is to use an Image control instead of the Form's
Picture property. You'd need to be sure the Image's z-order puts it
behind the Text Boxes, Labels, Lines, &c., that you place on your Form.

If you intend to give a copy of your database to someone else, you'll
probably want to embed the image into it. To reduce the size of your
database file, you can link the image instead -- but then you'll have to
send a copy of your image along with the database if you give it to
someone else.

-- Vincent Johns <[email protected]>
Please feel free to quote anything I say here.
 
G

Guest

Thank you very much for helping me. I was able to insert an *.bmp file
8.5x11" into a form. Somehow, the content was magnified and only a part of
the left upper file was displayed on the form (about 25% of the file) not the
whole file. I really want the whole template.

I was able to copy a word document and paste it on the form. However, the
template was reduced and shrunk to about 80%. It probably caused by the
predefined margin of the form set at 1" for top, bottom, left, & right.

I want to attach the file to you to look at, but I don't know how. I hope
to hear from you soon.

Thank you very much.

Sincerely,
H. Nguyen
 
V

Vincent Johns

There are some other properties that you can set that might take care of
your problem automatically, or you can simply edit the image (in
Paintbrush or wherever) to crop it the way you want before inserting it.

Send me the Access file with the Form (but without any incriminating or
otherwise sensitive information), if you wish. ZIP it to reduce the
size of the attachment. If you linked to the image instead of embedding
it, also please include the image file. (You can use WinZIP or
something similar to do that if you don't have Windows XP.) I don't
guarantee an instant response, however, but I'll try to determine what
you can do with your picture.

-- Vincent Johns <[email protected]>
Please feel free to quote anything I say here.
 
V

Vincent Johns

Having looked at an emailed copy of the database, my suggestion was to
save the image as a *.PNG file, and then link or embed that file as an
Image object in the Form.

-- Vincent Johns <[email protected]>
Please feel free to quote anything I say here.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top