I have report that pulls the birth date for a student, but pulls the date and time. I need to be able to display the report, but just want to display the date and not the time. I have tried
if length(undergrad.birtdate)<39 then {undergrad.birtdate} else
left(undergrad.birtdate,instrrev(left(undergrad.birtdate,39),' ')-1)
but get an error stating expecting string. Not sure where to try next on this. Any help would be appreciated. I need to truncate to 39 characters (which in most situations this would happen automatically, but just trying to cover my a$$ with the formula)
Thanks
Kevin