Microsoft Office Forums

Go Back   Microsoft Office Forums > >

Reply
 
Thread Tools Display Modes
  #1  
Old 07-21-2015, 11:03 AM
dcriollo dcriollo is offline if-then-else rule Windows 7 64bit if-then-else rule Office 2010 64bit
Novice
if-then-else rule
 
Join Date: Jul 2015
Posts: 1
dcriollo is on a distinguished road
Exclamation if-then-else rule

I am attempting to create a letter template that will be printed for a specific record on a data base. Is there a way to search for the record first and then print a single letter for that specific record. I've tried a form text field and then comparing it to the value on the data base but that only works for the very first record if i type the value of any subsequent record nothing is returned. can you help?

Last edited by Charles Kenyon; 07-23-2015 at 07:41 AM. Reason: Mark as solved
Reply With Quote
  #2  
Old 07-21-2015, 01:44 PM
macropod's Avatar
macropod macropod is offline if-then-else rule Windows 7 64bit if-then-else rule Office 2010 32bit
Administrator
 
Join Date: Dec 2010
Location: Canberra, Australia
Posts: 21,963
macropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond reputemacropod has a reputation beyond repute
Default

You could a SKIPIF field coded along the lines of:
{SKIPIF{MERGEFIELD Record_No}<> {FILLIN "What is the record number to use?" \o}}
where 'Record_No' is the name of the field holding the record number.

Alternatively, you could use the mailmerge filters or, if you know which record # you want, specify that when you click on Finish & Merge.

Note: The field brace pairs (i.e. '{ }') for the above example are all created in the document itself, via Ctrl-F9 (Cmd-F9 on a Mac); you can't simply type them or copy & paste them from this message. Nor is it practicable to add them via any of the standard Word dialogues.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote
Reply

Tags
automating, mail merge fields



Similar Threads
Thread Thread Starter Forum Replies Last Post
Is this possible message rule Mahmed1 Outlook 3 07-24-2014 03:31 AM
Rule to turn off a rule tiger10012 Outlook 2 02-23-2013 09:50 AM
1 Calendar to rule them all... halcyoneus Outlook 0 11-18-2011 02:57 PM
Rule to reply GeeksBsmrT Outlook 0 08-25-2010 07:08 AM
if-then-else rule Facebook rule? markg2 Outlook 3 08-06-2010 05:17 AM

Other Forums: Access Forums

All times are GMT -7. The time now is 03:25 PM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2024, vBulletin Solutions Inc.
Search Engine Optimisation provided by DragonByte SEO (Lite) - vBulletin Mods & Addons Copyright © 2024 DragonByte Technologies Ltd.
MSOfficeForums.com is not affiliated with Microsoft