Hello all… I am working on creating WebI reports using v6.5.1.
It seems the only way to include the prompt value(s) is to create a WebI variable using the UserResponse function. I’ve tried this:
=UserResponse(“Begin Date”)
which seems to “validate” OK but I CANNOT get this to display on my report. I’ve inserted a blank cell (from the Templates menu), and tried to populate that blank cell with my new variable. WebI acts like it’s “working”, but the value of the prompt never actually “appears” in my cell. FYI - in order to use this function, I had to create a “PDC” named Begin Date in my Universe file; I don’t see any way to access prompts created as part of a WebI report.
So, I’m at a loss. Can anyone shed some light on how to include prompt values on WebI reports?
Thank you!
So Paul, how did you get the text from your formula or variable into a cell on the report? Did you have to insert a blank cell, or were you able to just “drag” the formula onto the report or???
Ok, now I see how to just drag the resulting formula onto the report. reviously, I was inserting a “free-standing cell”, and then trying to populate that cell with my UserResponse formula, which did NOT work.
I tried using ToDate around my new variable(s), but I keep getting data type errors. So, I have yet to figure that out.
And, I notice that my report layout looks good on page 1, but on all subsequent pages the report “block” is jammed right up to the top border, so it sits directly underneath the report title, and obscures the prompt values I’ve taken such pains to create. AARRGGHHHH…
Finally, I noticed a TINY little right-facing arrow near the top-right of the report page. When I “open” the arrow, it displays the prompts used to refresh a report. Double AARRGGGHHHH!
Thanks for your help Paul, as well as any additional help you can offer!
Ben
UserResponse always returns a character string. If you use the ToDate function at the report level, you can convert your UserResponse from a character string to a date.
You can then use FormatDate function to then change the format and include it with other character strings.
it doesn’t show the choosen values in the report, only the word “Text:”
I dragged the variable to the cell and insert the variable via editor also.
Any solutions?
Edit: It was my own error. I had made the WebI-report out of an BO-report and renamed the prompts in WebI but used the old values from the BO-formulas.
If I get multiple values from UserReponse such as ‘10/10/2004 12:00:00 AM’, ‘10/17/2004 12:00:00 AM’ etc., How do I convert each of them to Data in ‘mm/dd/yyyy’ formats and use them in display (display as ‘10/10/2004’, ‘10/17/2004’ etc.,)
Also is there a way in Universe configured to read from SQL Server to format the Date Object to display iin ‘mm/dd/yyyy’ format instead of ‘mm/dd/yyyy hh:mm:ss AM/PM’, which always shows ‘mm/dd/yyyy 12:00:00 AM’…ridiculous for users. Any ideas? (Object format did not work!)