bcmom90
IS-IT--Management
- Mar 15, 2006
- 5
I am using Crystal Reports 9. I have similar fields from 2 different tables.I want to replace any null Dates from the Purc_Order_Line table with the ones from the Purchase_Order table. Here's what I tried:
if DateValue ({PURC_ORDER_LINE.DESIRED_RECV_DATE})= DateValue (0,0,0 ) then
DateValue ({PURC_ORDER_LINE.DESIRED_RECV_DATE}) else
DateValue ({PURCHASE_ORDER.DESIRED_RECV_DATE})
I've tried every sort of Date function and nothing is happening. Has anyone been successful doing this and, if so, how is it done?
if DateValue ({PURC_ORDER_LINE.DESIRED_RECV_DATE})= DateValue (0,0,0 ) then
DateValue ({PURC_ORDER_LINE.DESIRED_RECV_DATE}) else
DateValue ({PURCHASE_ORDER.DESIRED_RECV_DATE})
I've tried every sort of Date function and nothing is happening. Has anyone been successful doing this and, if so, how is it done?