Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Duck Duck is offline
external usenet poster
 
Posts: 1
Default How to indicate database home folder

I am creating a client database in which I want to also store client
photos. The photos are stored in a subfolder of the folder in which
the database is created. How can I indicate in my VBA code which
populates the unbound image frame, the relative location of the photos
folder (relative to folder in which the database is created). I want
to be able to move the database to a different folder on different
computers.
  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Doug Robbins - Word MVP Doug Robbins - Word MVP is offline
external usenet poster
 
Posts: 8,832
Default How to indicate database home folder

ActiveDocument.MailMerge.DataSource.Name

will give you the path and name of the data source that is attached to the
main document. Easy enought to strip off the name of the data source and
append the name of the folder containing the photos

--
Hope this helps.

Please reply to the newsgroup unless you wish to avail yourself of my
services on a paid consulting basis.

Doug Robbins - Word MVP

"Duck" wrote in message
...
I am creating a client database in which I want to also store client
photos. The photos are stored in a subfolder of the folder in which
the database is created. How can I indicate in my VBA code which
populates the unbound image frame, the relative location of the photos
folder (relative to folder in which the database is created). I want
to be able to move the database to a different folder on different
computers.



Reply
Thread Tools
Display Modes

Posting Rules

Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
windows home vista home premium fws58 Microsoft Word Help 1 September 24th 07 11:32 AM
Saving to a web folder:- Won't save back to folder file opened fro Chris Monkman EvolutionDB Microsoft Word Help 0 November 23rd 06 02:58 PM
Some of the keys, such as Home, Ctrl + Home are not working-why TechTeacher Microsoft Word Help 1 October 5th 05 04:46 AM
database saved as a document, somehow, must convert to database Tasha Mailmerge 5 August 1st 05 08:01 PM
Windows XP Home, Office XP Home, in Word, no "Save As" option Gregory Welch Microsoft Word Help 2 June 17th 05 03:53 PM


All times are GMT +1. The time now is 08:40 AM.

Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
Copyright ©2004-2024 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.
 

About Us

"It's about Microsoft Word"