Reply
 
Thread Tools Display Modes
  #1   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Simon Simon is offline
external usenet poster
 
Posts: 6
Default mailmerge. end merge or skip record when quantity is 0

How do your end the merge when the remaining records in the import file
(excel) are 0.

This should work with a database query, however the error database engine
failure is returned, and cannot open source file.

Can merge ok, as long a a query isnt raised. I have checked on the forums
(and tried DDE, and using another computer) but still the same problem.


  #2   Report Post  
Posted to microsoft.public.word.mailmerge.fields
Graham Mayor Graham Mayor is offline
external usenet poster
 
Posts: 19,312
Default mailmerge. end merge or skip record when quantity is 0

Use a SkipIf field to test whether a field is empty or equal to 0
eg
{ SKIPIF { MERGEFIELD Fieldname } = "" }

--

Graham Mayor - Word MVP

My web site www.gmayor.com
Word MVP web site http://word.mvps.org


Simon wrote:
How do your end the merge when the remaining records in the import
file (excel) are 0.

This should work with a database query, however the error database
engine failure is returned, and cannot open source file.

Can merge ok, as long a a query isnt raised. I have checked on the
forums (and tried DDE, and using another computer) but still the same
problem.



Reply
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
Repeat a merge if a record exists or end if it doesn't Jerkules Mailmerge 5 April 28th 06 02:15 PM
Skip Record if Comparison of Several Fields Fails Nick Mailmerge 9 February 14th 06 09:39 PM
Why does Label Mail Merge skip first record on subsequent pages George Mailmerge 3 January 6th 06 04:59 AM
Using MAILMERGE fields within HYPERLINK fields for Merge to Email Mark V Mailmerge 2 December 4th 04 04:01 PM
Mailmerge starts at wrong record Franc v/d Westelaken Mailmerge 1 December 1st 04 10:59 AM


All times are GMT +1. The time now is 09:33 PM.

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"