cancel
Showing results for 
Search instead for 
Did you mean: 

Web I Audit report # ERROR

Former Member
0 Kudos

Hi Gurus,

i am trying to customise an existing audit report in 3.1 environment.

j have created 2 variables

Start date: =FormatDate(ToDate(UserResponse("Start Date:");"");"MM/dd/yyyy")

End date: =FormatDate(ToDate(UserResponse("End Date:");"");"MM/dd/yyyy")

output: "Date range:  " + [Start date:] + "   to  "+ [End date:]

i am getting errror: #ERROR

Thank you for the help !!!

Accepted Solutions (1)

Accepted Solutions (1)

amitrathi239
Active Contributor
0 Kudos

HI.

Drag the startdate variable only  and if error is coming or not.

Add the same date format  which is coming from userresponse while using todate function.

Start date: =FormatDate(ToDate(UserResponse("Start Date:");"add date format");"MM/dd/yyyy")

Amit

Answers (1)

Answers (1)

Former Member
0 Kudos

Break it down - What do you get for the UserResponse part?

That is the format that you need to put the second part of your ToDate in/
.

Si if you've got 16/11/2015, you'd need dd/MM/yyyy instead of MM/dd/yyyy