What is the best way to set up the @prompt syntax so that the user can choose a specific date or all dates. I only have this example to go by but it hard codes random dates as the default through the CMC (01/01/1900 - 12/31/2030)
Is there a better way to set up a date range in the Universe?
It needs to default to all dates and return all data if the user does enter a specific date range.
@Select(Object\Start Date) BETWEEN @prompt(‘Enter Object Start Date (Start):’,‘D’,Mono,Free,Persistent,User:26)
AND @prompt(‘Enter Object Start Date (End):’,‘D’,Mono,Free,Persistent,User:27)
OR @Select(Object\Start Date) Is Null
Also do you know what the significance of User:26?
this will return only where the date is null…
try using @Select(Object\Start Date) =@Select(Object\Start Date)
or may be @Select(Object\Start Date) BETWEEN @prompt(‘Enter Object Start Date (Start):’,‘D’,Mono,Free,Persistent,User:26)
AND @prompt(‘Enter Object Start Date (End):’,‘D’,Mono,Free,Persistent,User:27)
OR
1=1
Do you know how to set up the user prompt in WEBI such that they do not have to enter a value at run time if they want to have the reprot run for all start dates
You will have to provide a prompt value until you upgrade to XI 3.x as mentioned. XI R2 and all previous versions do not allow prompts to be left empty.