View Full Version: Totext Cmd In Crystal For Hr Report

LawsonTalk > HR/Payroll > Totext Cmd In Crystal For Hr Report


Title: Totext Cmd In Crystal For Hr Report
Description: Date stamp


Mil0n023 - August 10, 2006 04:13 PM (GMT)
When I execute the following:

if{REVIEW.ACTUAL_DATE} = CDateTime (1700, 01, 01, 00, 00, 00) then totext
("N/A") else totext({REVIEW.ACTUAL_DATE})

I get a return of the N/A or 09/01/2006 12:00:00:00

How can I format this so the time stamp is not displayed? There is no format date tab in Format Editor - is it because of the totext statement??

Thanks everyone - You all rock!! Red Hot Chili Peppers Friday!!! WOOOOOOOOOO :afro:

jedmiston - August 10, 2006 04:16 PM (GMT)
I think this will work:

totext({REVIEW.ACTUAL_DATE},"M/dd/yy")

or "MM/dd/yy" if you want a two digit year (leading zero).

Joe Edmiston

Mil0n023 - August 10, 2006 04:22 PM (GMT)
YYYYYYYYYESSSSSSSSSSSSSSSS

That worked. I :bow: to your better knowledge love

~ Mike

Mil0n023 - August 10, 2006 04:23 PM (GMT)
Oops !

You are a dude...!! LOL

<<< RETRACTS "love"

NOOOOOOOOOOOOOO :wwf:



Hosted for free by InvisionFree