Results 1 to 4 of 4
  1. #1
    Join Date
    August 11th, 2006
    multiple criteria problem
    I'm trying to use multiple criteria in my "if" statement - and webmerge keeps freaking out. any idea why the following doesn't work: (?) It just freezes up.
    [wm-if: (field: ComboPrice <> empty) and ((field: ComboPrice) < (field: ComboPriceNoDifference))]

    I've tried every combination of parenthesis I can think of...

  2. #2
    Member MarkJH's Avatar
    Join Date
    January 17th, 2005

    [WM-If: (Field: ComboPrice <> empty) AND (Field: ComboPrice < Field: ComboPriceNoDifference)]

    should work, as far as I can see. If not, maybe WebMerge doesn't like comparisons between two Fields? Maybe that's something for Richard.

    Have you tried replacing the 'empty' with '""'?

  3. #3
    Join Date
    August 11th, 2006
    Thanks for the reply - and yup, I've tried every combination of "empty" vs "" vs "null" etc. After struggling, I found a similar thread on this forum, dated a year or so ago. Apparently, unless WebMerge has been fixed and it's not included in the instructions, the app can't handle fields formatted (from access for instance) as currency. Odd, I know, considering what this app is commonly used for. Anyway, the string I found was on this page, fyi:

    I had to use a rather clumsy work around in order to get it to work.

    If anyone knows how to incorporate fields (formatted as currency) into if statements, I'd love to get your input.


  4. #4
    Affiliate Manager
    Join Date
    January 18th, 2005
    Los Angeles, California
    Please email me the template in question and I'll see what I can come up with for it.
    Richard Gaskin
    Developer of WebMerge: Publish any data feed on any site

  5. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Problem with Running Multiple Affiliate Programs
    By applesofgoldjewelry in forum Midnight Cafe'
    Replies: 23
    Last Post: March 8th, 2009, 07:43 PM
  2. Cookie problem for merchant on multiple networks
    By Azam in forum Merchant Best Practices Forum
    Replies: 4
    Last Post: February 22nd, 2007, 01:09 PM
  3. Cookie problem for merchant on multiple networks
    By Azam in forum Commission Junction - CJ
    Replies: 3
    Last Post: February 21st, 2007, 05:54 PM
  4. Another multi-criteria problem
    By lindaniel in forum WebMerge (
    Replies: 2
    Last Post: November 3rd, 2006, 04:48 PM
  5. Tagmaker and WM-IF Multiple Criteria
    By Nature Boy in forum WebMerge (
    Replies: 0
    Last Post: January 26th, 2006, 10:38 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts