-
WSMelanieB
AskWoody LoungerBut we DO have rights to delete and write to the folder on the network where the db is located. In fact, while logged in on Citrix, I can go to the database and copy it, move it, or delete it just fine. So if compact and repair creates a new database and renames it and deletes the old one, and it is working in the same folder as the original db, and I can manually do those same things, why can’t Access complete the process?
Hans, I would understand if it copies something to the local drive because we don’t have rights there. But I do have full rights on the network drive and the folder where the db lives.
Hans is correct – unless you can get Delete privileges on the network drive where your database is located, doing a Compact and Repair will always create the new database, but is unable to rename it since that involves deleting the original database.
-
WSMelanieB
AskWoody LoungerWe don’t have rights to copy to the local disk when using Citrix. We can copy to another network drive. I’ve done that without any issues. I’ve even tried doing the compact/repair from a copy on another network drive. It seems to be just when I’m logged into a thin client on Citrix that the problem happens – no matter which network drive I am using and no matter which database.
And, I can open the db on my other computer (not on citrix) and compact/repair there fine.
-
WSMelanieB
AskWoody LoungerMarch 5, 2009 at 9:32 am in reply to: Mail Merge to make picture badges for employees (2003) #1150337Thank you, Hans. I am still struggling. Now I am getting the outline where the picture should be, but there’s a red x in the upper left corner. Any ideas about why?
-
WSMelanieB
AskWoody LoungerMarch 3, 2009 at 3:37 pm in reply to: Mail Merge to make picture badges for employees (2003) #1149963No error. It looks like it’s posting, but then I check and it’s not there. I’m going to try it again now.
No, what exactly is the problem? Do you get an error message? If so, what does it say?
-
WSMelanieB
AskWoody LoungerMarch 2, 2009 at 5:11 pm in reply to: Mail Merge to make picture badges for employees (2003) #1149801Hans,
I’ve tried posting the reply with the attached file twice so far today. But, it’s not showing up. Did we hit a thread limit or something?
-
WSMelanieB
AskWoody LoungerMarch 2, 2009 at 9:09 am in reply to: Mail Merge to make picture badges for employees (2003) #1149724oops. Sorry. You’re right. Here is the correct one. Thank you.
Macropod asked for the mailmerge main document, i.e. the document with the merge fields.
You have attached the result of the mail merge instead. -
WSMelanieB
AskWoody LoungerFebruary 27, 2009 at 4:48 pm in reply to: Mail Merge to make picture badges for employees (2003) #1149475Sure.
Hi Melanie,
Can you post a copy of the current version of your mailmerge main document, minus any confidential material?
-
WSMelanieB
AskWoody LoungerFebruary 27, 2009 at 3:11 pm in reply to: Mail Merge to make picture badges for employees (2003) #1149465Yes, I followed your instructions, which worked to get the pictures to display. But, not the right pictures. The datasource is a Excel spreadsheet, and each record has its own picture (see attached data source above please). How would I tell the INCLUDEPICTURE field to point to the pictures other than the way I have done it? (I have attached the merge document too above).
Thank you for trying to help me.
Hi Melanie,
Did you follow the steps I suggested for updating the pics after running the mailmerge? If so, and the pictures don’t update correctly, that suggests the INCLUDEPICTURE fields are pointing to the same set of pictures, not to a separate picture for each record. In which case, are you sure the records point to the correct pictures?
-
WSMelanieB
AskWoody LoungerFebruary 26, 2009 at 5:44 pm in reply to: Mail Merge to make picture badges for employees (2003) #1149190Well that sorta worked. I do get pictures, but it’s the same 3 pictures for all the records – they rotate the same 3 pics over and over again for all the records. I can look at the individual pictures and see that each record is numbered to match the data source records.
-
WSMelanieB
AskWoody LoungerFebruary 25, 2009 at 5:50 pm in reply to: Mail Merge to make picture badges for employees (2003) #1148898Well, both the datasource and document are stored in the same folder. The pictures are stored 2 subfolders below the source data and document. Are you saying I need the datasource and document stored in the same folder as all the images?
I don’t do merges, but I took a look at your document. I noticed the file names are generally “relative” to the current folder. However, in the case of a new merge document, that folder may be undefined. You probably need to save the file in the correct location before they can be resolved. Does that help?
-
WSMelanieB
AskWoody LoungerFebruary 25, 2009 at 5:18 pm in reply to: Mail Merge to make picture badges for employees (2003) #1148891omg.. I cannot believe how dense I feel. I fixed the mistakes you pointed out. Now, it has automatically changed my field and it shows the path and file name, and when I preview the merge it still says, Error not a valid file name.
Thank you for your patience. I am sure this is not hard, but somehow I am making this hard.
There are three mistakes:
– The name of the field is INCLUDEPICTURE, not INCLUDE PICTURE
– There shouldn’t be a space before the merge field
– There should be a double quote after the merge field (this error doesn’t occur in your document, only in the post)So instead of
{INCLUDE PICTURE ” {MERGEFIELD PHOTOGRAPH_FILENAME}’}
it should be
{INCLUDEPICTURE “{MERGEFIELD “PHOTOGRAPH_FILENAME”}”}
I tested it with a picture on my disk.
-
WSMelanieB
AskWoody LoungerFebruary 24, 2009 at 4:23 pm in reply to: Mail Merge to make picture badges for employees (2003) #1148691The data source looks like this:
N:\Test\Jeff Reams\Badging\Photos\00000\574.jpgMy merge code looks like this:
{INCLUDE PICTURE ” {MERGEFIELD PHOTOGRAPH_FILENAME}’}
But when I run the merge, I get “Error! Not a valid filename.”
I’m attaching (hopefully) a sample of the datasource and labels so hopefully you can see what I’m doing wrong.
Thank you.
What does thePHOTOGRAPH_FILENAME field in the data source contain?
– If it only contains the filename without the path, you should specify the path in the INCLUDEPICTURE field. Since you use an absolute path you should *not* use forward slashes but double backslashes:
{ INCLUDEPICTURE “N:TESTJEFF REAMSBADGINGPHOTOS00000{ MERGEFIELD “PHOTOGRAPH_FILENAME” }” }
Note that there is no space between and the { of the merge field!
– If it contains the full path to the picture, you should *not* specify the path in the INCLUDEPICURE field, but you should use double backslashes in path in the data source.
-
WSMelanieB
AskWoody LoungerFebruary 19, 2009 at 8:42 pm in reply to: Mail Merge to make picture badges for employees (2003) #1148060Thank you, but I’m still a bit confused. Do I write out the path for the picture and put the MERGEFIELD PHOTOGRAPH_FILENAME also? I did a screen shot of it both ways and I’m not sure which is right. I went into the datasource and made sure the slashes were forward /.
-
WSMelanieB
AskWoody LoungerFebruary 19, 2009 at 5:16 pm in reply to: Mail Merge to make picture badges for employees (2003) #1148012Well, I did, but I also clicked the button to update all fields and apparently when I saved the file, it lost the fields I hand entered. So, here it is again.
-
WSMelanieB
AskWoody LoungerThat works beautifully!!! Your instructions were perfect, Hans. Thank youuuuuu!
![]() |
There are isolated problems with current patches, but they are well-known and documented on this site. |
SIGN IN | Not a member? | REGISTER | PLUS MEMBERSHIP |

Plus Membership
Donations from Plus members keep this site going. You can identify the people who support AskWoody by the Plus badge on their avatars.
AskWoody Plus members not only get access to all of the contents of this site -- including Susan Bradley's frequently updated Patch Watch listing -- they also receive weekly AskWoody Plus Newsletters (formerly Windows Secrets Newsletter) and AskWoody Plus Alerts, emails when there are important breaking developments.
Get Plus!
Welcome to our unique respite from the madness.
It's easy to post questions about Windows 11, Windows 10, Win8.1, Win7, Surface, Office, or browse through our Forums. Post anonymously or register for greater privileges. Keep it civil, please: Decorous Lounge rules strictly enforced. Questions? Contact Customer Support.
Search Newsletters
Search Forums
View the Forum
Search for Topics
Recent Topics
-
Test post
by
Susan Bradley
3 hours, 34 minutes ago -
Used Systems to delete Temp files Gone WRONG what does this mean?
by
Deo
2 hours, 39 minutes ago -
SSD shuts down on its own
by
CWBillow
5 hours ago -
OneDrive File Sharing Changes
by
David Clark
7 hours, 26 minutes ago -
OneDrive File Sharing Changes
by
David Clark
9 hours, 30 minutes ago -
Win 10 Pro 22H2 to Win 11 Pro 23H2 Conversion Guide
by
doneager
4 hours, 17 minutes ago -
Today is world backup day
by
Alex5723
1 hour, 7 minutes ago -
Windows .exe on Mint
by
Slowpoke47
11 hours, 3 minutes ago -
Reviewing your licensing options
by
Susan Bradley
2 hours, 34 minutes ago -
Apple has been analyzing your photos since September 2024
by
B. Livingston
6 hours, 6 minutes ago -
What Windows 11 24H2 offers beyond bugs
by
Lance Whitney
1 hour, 23 minutes ago -
Making sense of Settings in Windows 11
by
Simon Bisson
3 hours, 28 minutes ago -
Windows 11 pro fails to log in after upgrading Win 10 pro to Win 11 pro 24h2
by
ben_sitaud
7 hours, 20 minutes ago -
23H2 / 24H2 / Local v. Microsoft Account.
by
CWBillow
5 hours, 6 minutes ago -
YouTube Ad Blocker Blocker
by
bbearren
5 hours, 17 minutes ago -
Obscure historical facts about Windows
by
Cybertooth
6 hours, 55 minutes ago -
Microsoft Backup
by
Linda2019
55 minutes ago -
What is the best notepad++ version for W7?
by
Picky
6 hours, 9 minutes ago -
What are right steps to move MS 365 Office+OneDrive files from PC to iMac?
by
glnz
1 day, 15 hours ago -
How to move existing MS 365 Office with OneDrive files from PC to new iMac
by
glnz
1 day, 15 hours ago -
How to move MS 365 files (some on OneDrive) from PC to iMac
by
glnz
2 days, 10 hours ago -
Microsoft adding Quick Machine Recovery to Windows 11
by
Alex5723
2 days, 10 hours ago -
Microsoft vs Passwords
by
Alex5723
1 day, 19 hours ago -
Windows 11 Insider Preview build 26200.5516 released to DEV
by
joep517
2 days, 14 hours ago -
Windows 11 Insider Preview build 26120.3653 (24H2) released to BETA
by
joep517
2 days, 14 hours ago -
Two March KB5053606 updates?
by
Adam
2 days, 8 hours ago -
MS Edge Not Updating to v134.0.3124.95 (rel. 27-Mar-2025)
by
lmacri
2 days, 8 hours ago -
Intel® Graphics/Sound Driver updates for 7th-10th Gen Intel® Core™ Processor
by
Alex5723
2 days, 11 hours ago -
Is there a comprehensve way to tranfer ALL current Edge Settings into a new Edge
by
Tex265
2 days, 9 hours ago -
Transferring ALL info/settings from current Firefox to new computer Firefox
by
Tex265
2 days, 9 hours ago
Recent blog posts
Key Links
Want to Advertise in the free newsletter? How about a gift subscription in honor of a birthday? Send an email to sb@askwoody.com to ask how.
Mastodon profile for DefConPatch
Mastodon profile for AskWoody
Home • About • FAQ • Posts & Privacy • Forums • My Account
Register • Free Newsletter • Plus Membership • Gift Certificates • MS-DEFCON Alerts
Copyright ©2004-2025 by AskWoody Tech LLC. All Rights Reserved.