filter a ServerFilter for Word Mail Merge

ozinm

Human Coffee Siphon
Local time
Today, 20:57
Joined
Jul 10, 2003
Messages
121
OK this should be relatively easy but I think my brain has finally melted!

I'm putting together a quick and nasty mailmerge button in my .adp to launch mailmerge in ms word.

This code works fine:

DoCmd.SelectObject acServerView, "vwSubscriptionContacts", True
DoCmd.RunCommand acCmdWordMailMerge

However I can't remember how I'd apply a WHERE condition to it to refine the data eg "WHERE iwfSubsription = 3".

Any help gratly apriciated
 

Users who are viewing this thread

Back
Top Bottom