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

Launch without submit button

Status
Not open for further replies.

JSMITH242B

Programmer
Mar 7, 2003
352
GB
Hi Group,
How can I amend the following code so that it runs without a submit button?
I included the submit button to check that it renders properly without any errors.

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<title>My test Reports</title>
</HEAD>
<body MS_POSITIONING="GridLayout">
<form id="frmRender" action=" method="post"
target="_self">
<input type="hidden" name="rs:Command" value="Render&CreationDate">
<input type="hidden" name="rc:Toolbar" value="false">
<input type = "hidden" name=Creation value= '01/06/2004'>
<input type="submit" value="view report">
</form>
</body>
</HTML>
 
just in case someone points out. Yes, it is a typo. It should say CreationDate in the last hidden field and not Creation.

cheers
 
You might try using client-side script to submit the form... forum216

But I have to wonder what you are actually trying to accomplish? Why bother sending a form to the user and then automatically submitting the form? Why not just send them the intended page to begin with?
 
Hi Sheco,
Thanks for your speedy response.

I'm developing an ASP application which will allow the user to run reports using MS reporting services and do searches within the app. On 1st launch this particular report should use the Current Date. However when navigating between this report and other reports, the user can change the date for this report.

I just want to present the user with the report when they launch the application. Similar to launching a menu.

Is there a better way? I'm new to all this.

cheers
 
If you were to configure the report parameter defaults in the RDL file itself ... wouldn't it run with those defaults automatically? Like if you pulled it up inside the Report Manager program?
 
Thing is, I only want it to use the default on first launch of the application. Surely if I place it in the rdl file it will continue to use the default through the application or am I wrong? Maybe I can override it through the URL request? Not sure. I'll give it a go.

Thanks all the same..
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top