I have a field that computes how long an issue has been pending:
CASE
WHEN (IsDate([@field:Date_Closed])=0) THEN
stuff('_Days',1, 0, Ltrim(STR(DateDiff(day,[@field:Date_To_HOA],GetUTCDate()))))
ELSE stuff(' ',1,0,'(Closed)')
END
Note that I have an underscore before 'Days' in the first stuff function. If I leave this out, the result appears on two lines if the number of days exceeds 99.
101
Days
I tried putting there, but that didn't work. I have also been unable to make the column wider, which might solve the problem.
You can post now and register later.
If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.
Question
brucepeaslee
I have a field that computes how long an issue has been pending:
Note that I have an underscore before 'Days' in the first stuff function. If I leave this out, the result appears on two lines if the number of days exceeds 99.
101
Days
I tried putting there, but that didn't work. I have also been unable to make the column wider, which might solve the problem.
Link to comment
Share on other sites
3 answers to this question
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.