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. |
|
|
Thread Tools | Display Modes |
#1
|
|||
|
|||
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
|
|||
|
|||
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 | |
|
|
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 |