Hi,
I have 2 textboxes on a report named CUDD(Customer UDD) and CDate, and in the CDate control source I put code:
basically it looks for CUDD textbox, if it has a value then show CDate its value, if CUDD empty then I want to show date+30 days to CDate textbox. But it does not show any value if CUDD is blank. I did not receive any error for the code. Any help?
and also, can I change background color of CDate textbox if CUDD is empty? what is the code for that? Thanks
I have 2 textboxes on a report named CUDD(Customer UDD) and CDate, and in the CDate control source I put code:
Code:
=Nz([CUDD],DateAdd("d",30,[CUDD]))
basically it looks for CUDD textbox, if it has a value then show CDate its value, if CUDD empty then I want to show date+30 days to CDate textbox. But it does not show any value if CUDD is blank. I did not receive any error for the code. Any help?
and also, can I change background color of CDate textbox if CUDD is empty? what is the code for that? Thanks