Results 1 to 4 of 4
  1. #1
    Newbie
    Join Date
    August 11th, 2006
    Posts
    15
    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 18th, 2005
    Posts
    68
    This:

    [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 '""'?
    [b][url=www.bandlink.net]Bandlink.net[/url][/b]

  3. #3
    Newbie
    Join Date
    August 11th, 2006
    Posts
    15
    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: http://forum.abestweb.com/showthread...light=currency.

    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.

    Regards

  4. #4
    Affiliate Manager
    Join Date
    January 18th, 2005
    Location
    Los Angeles, California
    Posts
    1,913
    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
    http://www.fourthworld.com

  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, 08: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, 02:09 PM
  3. Cookie problem for merchant on multiple networks
    By Azam in forum Commission Junction - CJ
    Replies: 3
    Last Post: February 21st, 2007, 06:54 PM
  4. Another multi-criteria problem
    By lindaniel in forum WebMerge (Fourthworld.com)
    Replies: 2
    Last Post: November 3rd, 2006, 05:48 PM
  5. Tagmaker and WM-IF Multiple Criteria
    By Nature Boy in forum WebMerge (Fourthworld.com)
    Replies: 0
    Last Post: January 26th, 2006, 11: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
  •