I am very sorry if I have affended anyone by not replying. I am new at this. I have used what was given me and it did not work. I guess it is because I am trying to concatenate it to others see below.
{hrpersnl.p_lname}&" "&{hrpersnl.p_fname}&" "& left{hrpersnl.p_mi,1}
How do I change a date/time field to only a date field in the 8.5 version? I want to use the select expert on this field and be able to put only a date.
Thanks,
Penny
I am sorry to be so much trouble. Here is what I have:
NumberVar T := {HMN_UNSHDDAY.S_START};
numbervar l := len(totext(tonumber(t)));
numbervar c := select(l)
case 0 : 0
case 1 : 0
case 2 : 0
case 3 : 1
case 4...
Sorry, but I am getting an error message saying "the remaining text does not appear to be part of the formula" inbetween the bottom two lines. Is this in crystal syntax?
case 4 : 2;
NumberVar H := tonumber(left(totext(t),c));
I'm sorry, maybe I don't understand. Will you check my formula?
NumberVar T := {HMN_UNSHDDAY.S_START};
NumberVar H := tonumber(left(totext(t),2));
NumberVar M := tonumber(totext(t) [3 to 4]);
time(h,m,0)
Yes, I am using 8.5. Notice that field of start time that has 1500 (Number) I wrote a formula time(field) that shows as 12:00AM.
e.g. start time @time
1500 12:00AM
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.