Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

bad date-time format string error

Status
Not open for further replies.

susiesunshine

Technical User
Mar 28, 2002
34
US
This formula is giving me a "bad date-time format string" when I run the report, but shows no errors when checking the formula:

if isnull({HDCAllCases.Closed Date}) then
CurrentDateTime else
datetimevalue({HDCAllCases.Closed Date})

Any ideas?
 
Yanno, might be something simple, try:

if isnull({HDCAllCases.Closed Date})
or
trim({HDCAllCases.Closed Date}) = "" then
CurrentDateTime
else
datetimevalue({HDCAllCases.Closed Date})

-k
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top