i am trying to figure out how to flag a value in my asp, sql 2000 db web project. i have one accepted time, "6A-2A", and i need to allow my salesstaff to enter in any time slot(s). i have to flag a time slot which lay outside of the accepted range of 6A-2A(like 1A-3:30A). so when i present the data to the administrator, any contract with a timeslot outside of the 6A-2A accpted range is shown. Have not been able to figure this out after many hours of trying? any help is appreciated.
here is piece trying to build with simple text box as this is functioning now...minus the flagging of outside time...
If Action = 3 Then
FormHold = FormHold & " <TR>" & chr(13)
FormHold = FormHold & " <TD><img src='images/dot_clear.gif' width='10' height='1' border='0'></TD>" & chr(13)
FormHold = FormHold & " <TD align='right'><span class='Label'>RUN DAY:</span><br><img src='images/dot_clear.gif' width='100' height='1' border='0'></TD>" & chr(13)
FormHold = FormHold & " <TD><SELECT NAME='RunDayStr' SIZE=1>" & chr(13)
FormHold = FormHold & " <OPTION VALUE=''>Select a Day to run the show</OPTION>" & chr(13)
FormHold = FormHold & " <OPTION VALUE='MON/FRI'>MON/FRI</OPTION>"
FormHold = FormHold & " <OPTION VALUE='MON/THURS'>MON/THURS</OPTION>"
FormHold = FormHold & " <OPTION VALUE='MON/SUN'>MON/SUN</OPTION>"
FormHold = FormHold & " <OPTION VALUE='FRI/SUN'>FRI/SUN</OPTION>"
FormHold = FormHold & " <OPTION VALUE='FRI/SAT/SUN'>FRI/SAT/SUN</OPTION>"
FormHold = FormHold & " <OPTION VALUE='SAT/SUN'>SAT/SUN</OPTION>"
FormHold = FormHold & " <OPTION VALUE='MONDAY'>MONDAY</OPTION>"
FormHold = FormHold & " <OPTION VALUE='TUESDAY'>TUESDAY</OPTION>"
FormHold = FormHold & " <OPTION VALUE='WEDNESDAY'>WEDNESDAY</OPTION>"
FormHold = FormHold & " <OPTION VALUE='THURSDAY'>THURSDAY</OPTION>"
FormHold = FormHold & " <OPTION VALUE='FRIDAY'>FRIDAY</OPTION>"
FormHold = FormHold & " <OPTION VALUE='SATURDAY'>SATURDAY</OPTION>"
FormHold = FormHold & " <OPTION VALUE='SUNDAY'>SUNDAY</OPTION>"
FormHold = FormHold & " <OPTION VALUE=''>--------------------------------------------------</OPTION>"
FormHold = FormHold & " </SELECT> "
FormHold = FormHold & " <span class='Label'>RUN TIME:</span>"
FormHold = FormHold & " <INPUT NAME='RunTimeStr' SIZE=25 MAXLENGTH=30 value='6A-2A'>" & chr(13)
FormHold = FormHold & " </SELECT></TD>" & chr(13)
FormHold = FormHold & " <TD><img src='images/dot_clear.gif' width='1' height='1' border='0'></TD>" & chr(13)
FormHold = FormHold & " </TR>" & chr(13)
FormHold = FormHold & " <TR>" & chr(13)
FormHold = FormHold & " <TD><img src='images/dot_clear.gif' width='10' height='1' border='0'></TD>" & chr(13)
FormHold = FormHold & " <TD><img src='images/dot_clear.gif' width='10' height='1' border='0'></TD>" & chr(13)
FormHold = FormHold & " <TD align=""right"">"
FormHold = FormHold & " <INPUT class='button' TYPE=BUTTON VALUE='CONTINUE' ONCLICK=""AlterAction('4');document.forms[0].submit();"" id=BUTTON1 name=BUTTON1>" & chr(13)
FormHold = FormHold & " </TD>" & chr(13)
FormHold = FormHold & " <TD><img src='images/dot_clear.gif' width='43' height='1' border='0'></TD>" & chr(13)
FormHold = FormHold & " </TR>"
Else
FormHold = FormHold & "<INPUT TYPE=HIDDEN NAME=""RunDayStr"" value=""" & RunDayStr & """>" & chr(13)
FormHold = FormHold & "<INPUT TYPE=HIDDEN NAME=""RunTimeStr"" value=""" & RunTimeStr & """>" & chr(13)
End if