Announcements
No record found.
I have a computed column, i like validate a date field, if is empty do somethiing...
It does not allow me to debug in computedcolumn
Can you help me.
Thanks
*This post is locked for comments
Sorry, I try to validate duedateStr1, not duedateStr
Hello,
You can use dateNull() to validate if the Date field has value.
if(table.Datefield==dateNull())
{
}
Thanks, the solution was
dueDays = SysComputedColumn::if("CHARINDEX('1900'," + duedateStr1 + ") = 0",
SysComputedColumn::getDateDiff(duedateStr1,duedateStr,SysComputedColumnDatePart::Day),
SysComputedColumn::getDateDiff(duedateStr2,duedateStr,SysComputedColumnDatePart::Day));
Thank very much!!!
Under review
Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.
Congratulations to our 2026 Super Stars!
We are thrilled to have these Champions in our Community!
These are the community rock stars!
Stay up to date on forum activity by subscribing.
CP04-islander 39
Michel ROY 14
imran ul haq 8