Results 1 to 2 of 2
  1. #1
    Newbie
    Join Date
    May 10th, 2005
    Posts
    1
    WM-If and WM-AccessLink: Can you wrap a conditional around an AccessLink?
    I am wondering whether anybody knows if you can conditionally display AccessLinks. I only want to display text associated with AccessLinks when the field is not empty. The syntax I have tried to use to achieve this is following:

    [WM-If WM-AccessLink: PublicEmailAddress = true]
    Email: [WM-AccessLink: PublicEmailAddress]<br />
    [/WM-If]

    [WM-If WM-AccessLink: Website = true]
    Website: [WM-AccessLink: Website]<br />
    [/WM-If]

    I know that you can only use the value 'Field' with WM-IF but I need to conditionally show text associated with an AccessLink, not a field.

    The answer is probably staring me in the face but I have been looking at it for too long. If anyone has any ideas, please your help would be much appreciated.

  2. #2
    Affiliate Manager
    Join Date
    January 18th, 2005
    Location
    Los Angeles, California
    Posts
    1,913
    The WM-AccessLink tag is designed for generating links using the multi-part data specially formatted within fields of that type in MS Access. To evaluate the contents of such fields in an IF comparison you can use the WM-Field tag with something like this:

    [WM-If: Field: MyAccessField contains true]
    Richard Gaskin
    Developer of WebMerge: Publish any data feed on any site
    http://www.fourthworld.com

  3. Newsletter Signup

+ Reply to Thread

Similar Threads

  1. Multi-Network Tracking Solutions - conditional representation"
    By Chuck Hamrick in forum ShareASale - SAS
    Replies: 5
    Last Post: October 22nd, 2011, 02:08 PM
  2. Conditional pages
    By Pierre (aka Terdef) in forum WebMerge (Fourthworld.com)
    Replies: 4
    Last Post: April 1st, 2008, 09:10 PM
  3. Conditional generation of a page
    By Pierre (aka Terdef) in forum WebMerge (Fourthworld.com)
    Replies: 2
    Last Post: July 29th, 2005, 03:29 AM
  4. Conditional LinkIndexNext/Previous tags???
    By Savin in forum WebMerge (Fourthworld.com)
    Replies: 0
    Last Post: July 7th, 2004, 08:33 PM
  5. Car Wrap
    By Trust in forum Building Traffic, Newsletters & Advertising
    Replies: 9
    Last Post: August 27th, 2003, 01:34 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
  •