View Single Post
 
Old 05-20-2019, 03:05 PM
macropod's Avatar
macropod macropod is offline Windows 7 64bit 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

Indeed, that is quite possible. Assuming you already have the table, insert plain double quotes either side of it and your mergefield (from the Insert Merge Field dropdown) followed by '= "CA" ' before the leading double quote. You should have something like:
«Opportunity_State»= "CA" "table"
Select all of that and press Ctrl-F9. You should now have
{ «Opportunity_State»= "CA" "table" }
Simply type 'IF' inside the opening brace, thus:
{IF«Opportunity_State»= "CA" "table" }
and you're ready to go.
Note the space after the '=' in the field construction; it's essential.
__________________
Cheers,
Paul Edstein
[Fmr MS MVP - Word]
Reply With Quote