I'm trying to select records based on a date from a parameter. I want a handful of default values available, but they must be relative so I don't think I can use a date parameter. I've set up a string parameter with default values that allow me to set up a record selection formula that lets me define what date each default string values return. Example of working values:
for string parameter {?Date Range} default values:
"Today"
"Tomorrow"
record selectin formula:
if {?Date Range} = "Today" then
{Table.Date} = CurrentDate
else if
{Date Range} = "Tomorrow" then
{Table.Date} = CurrentDate + 1
What I want to be able to do is set up a handful of these default values, but also allow the user to input a single date or a range of dates, but I don't know how to do that.
I thought about making another default value "Other" that would call another parameter. That second parameter would actually be a date. But I don't really know how to do that either.
Any ideas?
thanks
dylan
for string parameter {?Date Range} default values:
"Today"
"Tomorrow"
record selectin formula:
if {?Date Range} = "Today" then
{Table.Date} = CurrentDate
else if
{Date Range} = "Tomorrow" then
{Table.Date} = CurrentDate + 1
What I want to be able to do is set up a handful of these default values, but also allow the user to input a single date or a range of dates, but I don't know how to do that.
I thought about making another default value "Other" that would call another parameter. That second parameter would actually be a date. But I don't really know how to do that either.
Any ideas?
thanks
dylan