nicks60610
MIS
I am writing a simple query where a user can select a report based on a shift, i.e. 1,2 or 3. Now they want to be able to view all shifts in one report, i.e. someone selects "All" and it shows shifts 1, 2 and 3 for that particular date.
I have a drop down where the values are set for 1, 2 and 3 and then on my ASP page this value is carried over and queried against the DB (see below):
HTML Page:
<td width="89%"><select size="1" name="Shift">
<option>Please Select Shift</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
EQ_EVENTS.PRODUCTION_LOST = '" & Request.QueryString("Shift" & "'
This works fine for the individual shifts, but I am not quite sure how to transfer a value for "All" over to the ASP page so that it queries and finds anything during that date no matter which shift they worked. Any ideas??
I have a drop down where the values are set for 1, 2 and 3 and then on my ASP page this value is carried over and queried against the DB (see below):
HTML Page:
<td width="89%"><select size="1" name="Shift">
<option>Please Select Shift</option>
<option value="1">1</option>
<option value="2">2</option>
<option value="3">3</option>
EQ_EVENTS.PRODUCTION_LOST = '" & Request.QueryString("Shift" & "'
This works fine for the individual shifts, but I am not quite sure how to transfer a value for "All" over to the ASP page so that it queries and finds anything during that date no matter which shift they worked. Any ideas??