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

Adding info to Schedule

Status
Not open for further replies.

hengisglasgow73

IS-IT--Management
Feb 13, 2003
20
GB
Hi All,

I have added a script to ePortfolio that schedules multiple reports with one click.

What I am looking to do is grab a form vaiable to detarmine which group of reports to run ie:

Select item 1 and send the reports to A + B
Select item 1 and send the reports to C + D

I have the form set up, the datbase and the SQL working but I cant seem to get the form variable posted correctly.

Here is my HTML:

Response.Write(&quot;<tr><td>Select which build to initiate : <select name='build' class='menuFormElement' default=1>&quot;);
Response.Write(&quot;<option value='3'>Pub Run&quot;);
Response.Write(&quot;<option value='4'>BDM Run&quot;);
Response.Write(&quot;<option value='5'>OD Run&quot;);
Response.Write(&quot;<option value='6'>Test Run&quot;);Response.Write(Request.Form(&quot;build&quot;));
Response.Write(&quot;</select></td></tr>&quot;);

Here is my entry which does not pull through any value ie Undefined:
Request.Form(&quot;build&quot;)

Is it my HTML/scripting skills that have gone arwy or an I missing a trick in posting these values inot one of the enterprise objects
 
Just figured out my problem. On the last time the schedule.csp is displayed it is not submitted by the location is run. This means the forms dont get loaded. Therefore not form items to use. I have to save the form variable into some form of session variable.

Any pointer here would be good

TIA
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top