Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Steve1445 Steve1445 is offline
external usenet poster
 
Posts: 4
Default Word 2007 merge

I am pulling data from an data source. I want to display data along the line
of company and then the employees the work for the company. I have no problem
pulling the data, only displaying it.

Top half of the page shows company bottom half all the associate employees.

My question revolves around the NEXT or NEXT IF fields. If I use NEXT the my
merge shows company XYZ and the associated employees, the bad part is other
employees who do not work for XYZ show up too.

So, I figured I need to be conditional, I defined the NEXT IF expression as
"NEXT IF ORG_ORGNAME = CUST_ORGNAME". Not sure that my syntax is entirely
correct. But it should look at the two fields where this data comes from (the
data is coming from an SQL joined table view query) and say well this does
not equal that, and stop showing the next companies employees. But in my case
all I get is the same record repeating over and over.

Must be overlooking something simple here. Thanks in advance.
 
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
format field percentage merge Word 2007 from excel 2007 LoisInAlaska Mailmerge 3 September 15th 08 06:47 PM
Mail Merge Labels (Word 2007) w/ Excel (2007) aedcone Microsoft Word Help 2 August 11th 08 03:14 PM
Mail Merge Labels (Word 2007) from Excel (2007) aedcone Microsoft Word Help 3 August 8th 08 03:29 PM
word 2007 email merge not sending to outlook 2007 Steve Mailmerge 1 May 24th 08 12:53 AM
Mail Merge Error--Word 2007/Outlook 2007 lilkel31 Mailmerge 4 October 31st 07 02:01 PM


All times are GMT +1. The time now is 06:47 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"