I am sure there is a simple solution to this I just can't see it at
the moment.  I have a link in a list that is a drill down to another
table.  I want to hide that link for a record if there is no value in
the linked field otherwise an error comes up if the link is clicked. 
The linked lookup field value may not be filled in when the record is
created as it might not be known yet.  Anyway within the
cf_displaylistlinks tag I have the following link

[<a 
href="#Application.absoluteUrlRoot#/admin/UDOZoneCodes/UDOZoneCodesList.cfm?UDOZoneCode=#URLEncodedFormat(Trim(Attributes.listQuery.ADD_ZoneInfo_UDOZoneCode[currentRow]))#&FromDrill=1">UDO
Zone Codes</a>]


I thought I would just wrap the link in an if statement doing a check on the 

Attributes.listQuery.ADD_ZoneInfo_UDOZoneCode[currentRow] variable

However it appears that variable is put together in the displaylist
tag and has to be in the link format to be recognized.  How do I get
that variable value to validate if it has a value or not?  I guess I
really just need to know what scope the variable is in to be able to
find it.

Thanks

Dirk

**********************************************************************
You can subscribe to and unsubscribe from lists, and you can change
your subscriptions between normal and digest modes here:

http://www.productivityenhancement.com/support/DiscussionListsForm.cfm
**********************************************************************

Reply via email to