A Microsoft Office (Excel, Word) forum. OfficeFrustration

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 » OfficeFrustration forum » Microsoft Word » Page Layout
Site Map Home Register Authors List Search Today's Posts Mark Forums Read  

Include picture from file based on data entered in form



 
 
Thread Tools Display Modes
  #1  
Old October 21st, 2004, 01:45 PM
danthedane
external usenet poster
 
Posts: n/a
Default Include picture from file based on data entered in form

I want to print a document including data entered in a form. Amongst these
data there is a 'Geographical Identity Code (GIC)' . I want the entered code
to cause the inclusion of a specific .gif file with a name equal to the
GIC-code. Fyi the graphic shows a small geographical map. I assume that a
link to a graphics file shall be used, but how can I make the link variabel
based on the forms-data?
  #2  
Old October 26th, 2004, 10:18 AM
macropod
external usenet poster
 
Posts: n/a
Default

Hi dan,

If you use a formfield, you can solicit the GIC code with that. Then, if you
set the formfield's properties to 'calculate on exit' and give it a
meaningful bookmark name (eg GIC), an INCLUDEPICTURE field like the
following will pull the picture in:
{INCLUDEPICTURE "C:\\My Documents\\{GIC}.gif"}
whe
.. you replace 'C:\\My Documents\\' with the path to your file, using
double-backslashes as path separators;
.. the field braces '{}' are created via Ctrl-F9;
.. the 'GIC in {GIC} is your meaningful bookmark name; and
.. the document is protected for forms after setting this up.

One side-effect of this is that your document will have the GIC code
appearing in the formfield, but carefully placing that near the image might
be a bonus.

Cheers


"danthedane" wrote in message
...
I want to print a document including data entered in a form. Amongst

these
data there is a 'Geographical Identity Code (GIC)' . I want the entered

code
to cause the inclusion of a specific .gif file with a name equal to the
GIC-code. Fyi the graphic shows a small geographical map. I assume that a
link to a graphics file shall be used, but how can I make the link

variabel
based on the forms-data?



---
Outgoing mail is certified Virus Free.
Checked by AVG anti-virus system (http://www.grisoft.com).
Version: 6.0.778 / Virus Database: 525 - Release Date: 15/10/2004


 




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 Off
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Print Report Based on Form Data Matthew Loraditch Using Forms 5 December 31st, 2004 11:34 PM
Format on data to import to Access tables? (I need your advice) Niklas Östergren General Discussion 5 December 13th, 2004 02:54 PM
transpose john Using Forms 1 November 24th, 2004 06:16 PM
Images in a database Franz General Discussion 10 October 7th, 2004 09:35 AM
Office 2003 uninstall/reinstall problems Jerryn3 Setup, Installing & Configuration 2 August 2nd, 2004 03:39 PM


All times are GMT +1. The time now is 07:15 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 OfficeFrustration.
The comments are property of their posters.