Results 1 to 3 of 3
  1. #1
    Newbie
    Join Date
    January 18th, 2005
    Posts
    1
    Have tried to do Nested IF statements in Web Merge but always have problems it works but displays the closing if tag.

    Anyone know a tip or solution to this would be great.<pre class="ip-ubbcode-code-pre">
    [WM-Record]
    [WM-If: Field: type .eq. this]
    [WM-If: Field: product_type .eq. C]
    [WM-Field: product_name]
    [/WM-If]
    [/WM-If]
    [/WM-Record]
    </pre>

  2. #2
    Newbie
    Join Date
    January 18th, 2005
    Posts
    10
    I don't have an answer, but I have wanted to do the same thing. I figured it is not possible to have more that one If condition.
    It would be a nice feature if WebMerge could allow several conditions, nested.

  3. #3
    Affiliate Manager
    Join Date
    January 18th, 2005
    Location
    Los Angeles, California
    Posts
    1,913
    <BLOCKQUOTE class="ip-ubbcode-quote"><font size="-1">quote:</font><HR>Originally posted by phpking:
    Have tried to do Nested IF statements in Web Merge but always have problems it works but displays the closing if tag.

    Anyone know a tip or solution to this would be great.<pre class="ip-ubbcode-code-pre">
    [WM-Record]
    [WM-If: Field: type .eq. this]
    [WM-If: Field: product_type .eq. C]
    [WM-Field: product_name]
    [/WM-If]
    [/WM-If]
    [/WM-Record]
    </pre><HR></BLOCKQUOTE>

    In your case you don't really need nested IFs as much as you need multiple criteria. Both are on the feature request list; I'm hoping to squeeze multiple criteria into v2.4.

    --
    Richard Gaskin
    Fourth World Media Corporation
    Developer of WebMerge: Publish any database on any site
    ___________________________________________________________
    Ambassador@FourthWorld.com http://www.FourthWorld.com
    Tel: 323-225-3717 AIM: FourthWorldInc

  4. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Nested Tag Replacement...????
    By AddHandler in forum Programming / Datafeeds / Tools
    Replies: 3
    Last Post: August 13th, 2006, 06:36 PM
  2. Frank - question on nested tutorial
    By zimmy in forum WebMerge (Fourthworld.com)
    Replies: 7
    Last Post: May 19th, 2004, 03:50 PM
  3. Nested Query??? Is it possible
    By Doug247 in forum Programming / Datafeeds / Tools
    Replies: 4
    Last Post: April 25th, 2004, 08:04 PM
  4. Nested Tables Question
    By ~Michelle in forum WebMerge (Fourthworld.com)
    Replies: 6
    Last Post: January 19th, 2004, 12:32 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
  •