I have a DB that has a table with a value in it I need to use that is in DateTime format but I need it to be in short date format (dd/mm/yyyy). I do the following to convert the DateTime to a short date in the view that I use to build my report:
IIf(IsNull(SALESBYCUSTOMER
DETAIL.FDA
TE),Null,D
ateValue(F
ormat(Date
Value(SALE
SBYCUSTOME
RDETAIL.FD
ATE),"Shor
t Date"))) AS TxnDate,
When I look at the view, I see a short date. When I link to it in my application (as a parameter in Crystal Reports) the app see a DateTime value.
Anyone have any idea why this might be?
Start Free Trial