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 gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

URL Reporting Question 1

Status
Not open for further replies.
Is your date parameter in crystal should actually be a string, which you then convert in the report to date in the report. At least, that is working ok for me.
 
My only issue with that is, if someone needs to use this in ePortfolio, they'd have to know exactly the format to enter the dates as....can you give me an example of a url that you call?
 
It seems that other reports are not picking up the value as well...I have one that I simply send it year which is a varchar(4) and it looks like it returns the latest instance. Is this because there are parameters set on Enterprise already for this object?

DLC
 
So then you handle this String with a SP?

Thanks,

dLC
 
While I imagine this could certainly be used in a stored procedure, I'm using a 'command' set up in the crystal report, and I feed the string into the oracle to_date() function, like so:

select blah blah
from tablex
where table.date = to_date({?date},'YYYY/MM/DD')

I am doing this also with another parameter that comes through as a string and needs to be converted using to_number.

select blah, blah2
from tablex
where table.id = to_number({?id})

 
Hi,

Could you try use "prompt" & number instead of "promptex" & number? That's the format I'm using and works very well.

Hope it helps.

Ted
 
TedLui brings up a great point - your original question is on the syntax of the URL and I have been taking you down a different path.
Try checking out this document which should explain exactly where you might be going wrong:
URL Commands for the WEB Component Server.
I did not notice before, but you are using promptex - while I do not see where your use is incorrect, they offer this example:

 
Thanks, I am using the dates as strings now...it works great!
 
Any feedback on the performance of URL Reporting. Some of the users may be running reports that scan an entire year's worth of timesheet data....Millions of records...

DLC
 
Is it possible to disable the refresh (lightening bolt) while using URL reporting?

dlc
 
I think it can be disabled in CMC. I never try it by url reporting.

Hope it helps.

Ted
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top