A Microsoft Word forum. Microsoft Office Word Forum - WordBanter

If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

Go Back   Home » Microsoft Office Word Forum - WordBanter forum » Microsoft Word Newsgroups » Mailmerge
Site Map Home Register Authors List Search Today's Posts Mark Forums Read Web Partners

How to skip records within TableStart using SKIPIF, NEXTIF or NEXT?



 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
  #1  
Old August 12th 21, 03:55 AM
Vee Dee Vee Dee is offline
Junior Member
 
First recorded activity by WordBanter: Aug 2021
Posts: 1
Default How to skip records within TableStart using SKIPIF, NEXTIF or NEXT?

Hi there

Is there a way to skip records inside TableStart with a condition?

I have attempted the following block of code with each of these keywords SKIPIF, NEXTIF, NEXT with no success. Below is an example using SKIPIF.

{ MERGEFIELD TableStart:SomeItem \* MERGEFORMAT }

{ SKIPIF {={IF "{MERGEFIELD Description \* MERGEFORMAT}" "A" 1 0}+{IF "{MERGEFIELD Description \* MERGEFORMAT}" "B" 1 0}}}

{ MERGEFIELD Value\* MERGEFORMAT }

{ MERGEFIELD TableEnd:SomeItem \* MERGEFORMAT }

What I want to happen is to only display "Value" when Description equals A and B.
 




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
SkipIf feature catawaller Mailmerge 2 July 30th 09 06:21 PM
Mail merge question about SKIPIF and NEXTIF blingting Mailmerge 2 August 21st 07 04:45 PM
Skip Duplicate Records + Put all Records in One Document Ryan D Mailmerge 2 April 25th 07 06:55 PM
Skip a constant number of records R Alapatt Mailmerge 5 August 25th 06 09:47 PM
skip records in mail merge R Alapatt Mailmerge 7 August 25th 06 02:29 PM


All times are GMT +1. The time now is 11:58 PM.


Powered by vBulletin® Version 3.6.4
Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Copyright 2004-2021 Microsoft Office Word Forum - WordBanter.
The comments are property of their posters.