R2i DotNetNuke® Forum

R2i wants you to have the opportunity to ask questions, post reviews, help others or just rant and rave about DotNetNuke® or any of the R2i Modules and Skins. Our team spends hour upon hour, day after day, working on custom DotNetNuke® modules and services; please feel free to ask us anything.
 
Getting Trim to Fire
Last Post 03 Mar 2009 08:07 PM by rhein. 0 Replies.
Printer Friendly
Sort:
PrevPrev NextNext
You are not authorized to post a reply.
Author Messages Not Resolved
rheinUser is Offline
New Member
New Member
Posts:2

--
03 Mar 2009 08:07 PM  
I'm working on some ListX code, and it's been a while since I've had to work with it, and for the life of me I can't get this to work.

In my query pane I've got a query (kept short for brevity)
SELECT
TemplateCode = T.TemplateCode
FROM
xxxxx

In Format Pane:

<a href='http://somesite[FORMAT,\[TemplateCode\],{TRIM}].com' target="_blank">Link</a>

The problem is that the TemplateCode column in the db is a char 10 field and I'm geting back the value in the template code field followed by x number of blanks until I get's 10 characters..

Now I COULD just do a CAST on the value in the SQL call, and that works, but I'm trying to get the TRIM statement to fire... I feel it's something with my escape sequence, but I'm not seeing what I'm doing wrong.

Thanks.
Rick
You are not authorized to post a reply.

Active Forums 4.1
 

New York, NY • Baltimore, MD • Vienna, VA • St. Louis, MO • Seatle, WA • 410.327.0007 • info@R2Integrated.com

Bookmark & Share Bookmark and Share