lesser-equity

Magazine
Go Back   Computer Juice > Computer Software > Office Suites & Applications


Register


Reply
 
Thread Tools
  #1  
Old 19th Mar 2008, 13:17
New Member Group
 
I am creating a word document with multiple test criteria and am wondering how I would remove a space if the data is not shown. Here is my code-
1.{IF{mergefield cst_ela}="proficient""english cst: proficient"""}
2.{IF{mergefield cst_elb}="proficient""history cst: proficient"""}
3.{IF{mergefield cst_elc}="proficient""math cst: proficient"""}
4.{IF{mergefield cst_eld}="proficient""science cst: proficient"""}
The leading numbers are just for show here. So if 1 is true it shows up but if 2 is not true its blank and 3 could be true as well so the letter will have a blank line between 1 and 3. Is there a way to tell it if 2 is blank remove space?I hope this makes sense, any help would be greatly appreciated.

  #2  
Old 9th May 2008, 23:49
Donor Group
 
if you were to list them out ie -
{IF{mergefield cst_ela}="proficient""english cst: proficient"""}{IF{mergefield cst_elb}="proficient""history cst: proficient"""}
rather than placing a lin between the actual code.. would this solve your problem?
__________________

My System: FordyPC

Processor(s):
Quad Q6600 Kentsfield 2.66@3.45GHz
Motherboard:
Asus P5Q/L PRO (Intel P43, ICH10)
RAM Memory:
PNY XLR8 4GB @ 1066MHz
Graphics Card(s):
PNY nVidia GeForce 9400 GT 512MB
Sound Card:
Hard Drive(s):
Seagate HDBarracuda 1x 1TB 1x 250GB
Optical Drive(s):
LG (HD)GGCH20L / LG GH22NP20AUAA50B
Case / PSU:
Antec Sonata III & Earthwatts 500W
Cooling:
Stock
Network / Internet:
Gigabit LAN, FireWire & WG111v2
Monitor(s):
2 x Acer P193WAd
Operating System(s):
XP PRO x86/XP PRO x64/Win7 RC1 x64
  #3  
Old 10th May 2008, 04:52
Moderator Group
 
Have a look at these KB articles.

http://support.microsoft.com/kb/264892

http://support.microsoft.com/kb/116360

If you don't understand it I can try to help you more (I don't know much about these mailmerge statements though!.... I can learn)

Heres another good tutorial http://word.mvps.org/FAQs/MailMerge/MMergeIfFields.htm
__________________
serverguy

__________________

My System: Eclipse

Processor(s):
Intel C2D E7200 OC'd @ 3.6Ghz
Motherboard:
Asus P5Q Pro
RAM Memory:
OCZ 8GB 800Mhz
Graphics Card(s):
Saphire Radeon 4850
Sound Card:
Onboard
Hard Drive(s):
Vast
Optical Drive(s):
Sony al cheapo one.
Case / PSU:
Antec Three Hundred
Cooling:
Arctic Cooler 7 Pro, 3 case fans.
Network / Internet:
Titan ADSL
Monitor(s):
Dual 19" LCD
Operating System(s):
XP SP3
Reply

Register
Thread Tools




Arabic Bulgarian Chinese (Simplified) Chinese (Traditional) Croatian Czech Danish Dutch English Finnish French German Greek Hebrew Hungarian Italian Japanese Korean Latvian Lithuanian Norwegian Polish Portuguese Romanian Russian Serbian Slovak Spanish Swedish Thai Turkish Ukrainian

Copyright ©2006 - 2009 Computer Juice.

Powered by vBulletin® Copyright ©2000 - 2009 Jelsoft Enterprises Ltd. SEO by vBSEO ©2009, Crawlability, Inc.