|
Kinux -> RE: Database Search (6/10/2004 18:17:53)
|
<html> <head> <meta name="ProgId" content="SharePoint.WebPartPage.Document"> <meta name="WebPartPageExpansion" content="full"> <% ' FP_ASP -- ASP Automatically generated by a FrontPage Component. Do not Edit. FP_LCID = 1033 %> <meta http-equiv="Content-Language" content="en-us"> <% ' FP_ASP -- ASP Automatically generated by a FrontPage Component. Do not Edit. FP_CharSet = "windows-1252" FP_CodePage = 1252 %> <meta http-equiv="Content-Type" content="text/html; charset=windows-1252"> <title>New Page 1</title> </head> <body> <form runat="server"> <table width="100%" border="1"> <thead> <tr> <th ALIGN="LEFT"><b>WorkorderID</b></th> <th ALIGN="LEFT"><b>DateSubmitted</b></th> <th ALIGN="LEFT"><b>DateCompleted</b></th> <th ALIGN="LEFT"><b>SubmittedBy</b></th> <th ALIGN="LEFT"><b>SubmitterEmail</b></th> <th ALIGN="LEFT"><b>TeacherName</b></th> <th ALIGN="LEFT"><b>TeacherRoom</b></th> <th ALIGN="LEFT"><b>TeacherExtension</b></th> <th ALIGN="LEFT"><b>ProblemDescription</b></th> <th ALIGN="LEFT"><b>Comments</b></th> <th ALIGN="LEFT"><b>Location</b></th> <th ALIGN="LEFT"><b>Responder</b></th> <th ALIGN="LEFT"><b>status</b></th> <th ALIGN="LEFT"><b>priority</b></th> <th ALIGN="LEFT"><b>classification</b></th> <th ALIGN="LEFT"><b>UserEmail</b></th> <th ALIGN="LEFT"><b>Timespent</b></th> <th ALIGN="LEFT"><b>cost</b></th> </tr> </thead> <tbody> <tr> <td> <table width="100%" border="1"> <thead> <tr> <th ALIGN="LEFT"><b>WorkorderID</b></th> <th ALIGN="LEFT"><b>DateSubmitted</b></th> <th ALIGN="LEFT"><b>DateCompleted</b></th> <th ALIGN="LEFT"><b>SubmittedBy</b></th> <th ALIGN="LEFT"><b>SubmitterEmail</b></th> <th ALIGN="LEFT"><b>TeacherName</b></th> <th ALIGN="LEFT"><b>TeacherRoom</b></th> <th ALIGN="LEFT"><b>TeacherExtension</b></th> <th ALIGN="LEFT"><b>ProblemDescription</b></th> <th ALIGN="LEFT"><b>Comments</b></th> <th ALIGN="LEFT"><b>Location</b></th> <th ALIGN="LEFT"><b>Responder</b></th> <th ALIGN="LEFT"><b>status</b></th> <th ALIGN="LEFT"><b>priority</b></th> <th ALIGN="LEFT"><b>classification</b></th> <th ALIGN="LEFT"><b>UserEmail</b></th> <th ALIGN="LEFT"><b>Timespent</b></th> <th ALIGN="LEFT"><b>cost</b></th> </tr> </thead> <tbody> <!--webbot bot="DatabaseRegionStart" s-columnnames="WorkorderID,DateSubmitted,DateCompleted,SubmittedBy,SubmitterEmail,TeacherName,TeacherRoom,TeacherExtension,ProblemDescription,Comments,Location,Responder,status,priority,classification,UserEmail,Timespent,cost" s-columntypes="3,135,135,201,201,201,201,131,201,201,201,201,201,201,201,201,201,201" s-dataconnection="workorders" b-tableformat="TRUE" b-menuformat="FALSE" s-menuchoice s-menuvalue b-tableborder="TRUE" b-tableexpand="TRUE" b-tableheader="TRUE" b-listlabels="TRUE" b-listseparator="TRUE" i-listformat="0" b-makeform="FALSE" s-recordsource s-displaycolumns="WorkorderID,DateSubmitted,DateCompleted,SubmittedBy,SubmitterEmail,TeacherName,TeacherRoom,TeacherExtension,ProblemDescription,Comments,Location,Responder,status,priority,classification,UserEmail,Timespent,cost" s-criteria s-order s-sql="SELECT * FROM WORKORDERS WHERE (Location LIKE '%::search::%' OR TeacherName LIKE '%::search::%' OR Status LIKE '%::search::%' OR WorkorderID = ::search::) ORDER BY WorkorderID ASC " b-procedure="FALSE" clientside suggestedext="asp" s-defaultfields="search=&search=&search=&search=" s-norecordsfound="No records returned." i-maxrecords="256" i-groupsize="5" botid="0" u-dblib="../../../_fpclass/fpdblib.inc" u-dbrgn1="../../../_fpclass/fpdbrgn1.inc" u-dbrgn2="../../../_fpclass/fpdbrgn2.inc" tag="TBODY" preview="<tr><td colspan=64 bgcolor="#FFFF00" width="100%"><font color="#000000">This is the start of a Database Results region. The page must be fetched from a web server with a web browser to display correctly; the current web is stored on your local disk or network.</font></td></tr>" startspan --><!--#include file="../../../_fpclass/fpdblib.inc"--> <% if 0 then %> <SCRIPT Language="JavaScript"> document.write("<div style='background: yellow; color: black;'>The Database Results component on this page is unable to display database content. The page must have a filename ending in '.asp', and the web must be hosted on a server that supports Active Server Pages.</div>"); </SCRIPT> <% end if %> <% fp_sQry="SELECT * FROM WORKORDERS WHERE (Location LIKE '%::search::%' OR TeacherName LIKE '%::search::%' OR Status LIKE '%::search::%' OR WorkorderID = ::search::) ORDER BY WorkorderID ASC " fp_sDefault="search=&search=&search=&search=" fp_sNoRecords="<tr><td colspan=18 align=""LEFT"" width=""100%"">No records returned.</td></tr>" fp_sDataConn="workorders" fp_iMaxRecords=256 fp_iCommandType=1 fp_iPageSize=5 fp_fTableFormat=True fp_fMenuFormat=False fp_sMenuChoice="" fp_sMenuValue="" fp_sColTypes="&WorkorderID=3&DateSubmitted=135&DateCompleted=135&SubmittedBy=201&SubmitterEmail=201&TeacherName=201&TeacherRoom=201&TeacherExtension=131&ProblemDescription=201&Comments=201&Location=201&Responder=201&status=201&priority=201&classification=201&UserEmail=201&Timespent=201&cost=201&" fp_iDisplayCols=18 fp_fCustomQuery=True BOTID=0 fp_iRegion=BOTID %> <!--#include file="../../../_fpclass/fpdbrgn1.inc"--> <!--webbot bot="DatabaseRegionStart" endspan i-checksum="28100" --><tr> <td> <!--webbot bot="DatabaseResultColumn" s-columnnames="WorkorderID,DateSubmitted,DateCompleted,SubmittedBy,SubmitterEmail,TeacherName,TeacherRoom,TeacherExtension,ProblemDescription,Comments,Location,Responder,status,priority,classification,UserEmail,Timespent,cost" s-column="WorkorderID" b-tableformat="TRUE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>WorkorderID<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"WorkorderID")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="27661" --></td> <td> <!--webbot bot="DatabaseResultColumn" s-columnnames="WorkorderID,DateSubmitted,DateCompleted,SubmittedBy,SubmitterEmail,TeacherName,TeacherRoom,TeacherExtension,ProblemDescription,Comments,Location,Responder,status,priority,classification,UserEmail,Timespent,cost" s-column="DateSubmitted" b-tableformat="TRUE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>DateSubmitted<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"DateSubmitted")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="34917" --></td> <td> <!--webbot bot="DatabaseResultColumn" s-columnnames="WorkorderID,DateSubmitted,DateCompleted,SubmittedBy,SubmitterEmail,TeacherName,TeacherRoom,TeacherExtension,ProblemDescription,Comments,Location,Responder,status,priority,classification,UserEmail,Timespent,cost" s-column="DateCompleted" b-tableformat="TRUE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>DateCompleted<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"DateCompleted")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="33349" --></td> <td> <!--webbot bot="DatabaseResultColumn" s-columnnames="WorkorderID,DateSubmitted,DateCompleted,SubmittedBy,SubmitterEmail,TeacherName,TeacherRoom,TeacherExtension,ProblemDescription,Comments,Location,Responder,status,priority,classification,UserEmail,Timespent,cost" s-column="SubmittedBy" b-tableformat="TRUE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>SubmittedBy<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"SubmittedBy")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="26670" --></td> <td> <!--webbot bot="DatabaseResultColumn" s-columnnames="WorkorderID,DateSubmitted,DateCompleted,SubmittedBy,SubmitterEmail,TeacherName,TeacherRoom,TeacherExtension,ProblemDescription,Comments,Location,Responder,status,priority,classification,UserEmail,Timespent,cost" s-column="SubmitterEmail" b-tableformat="TRUE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>SubmitterEmail<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"SubmitterEmail")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="40056" --></td> <td> <!--webbot bot="DatabaseResultColumn" s-columnnames="WorkorderID,DateSubmitted,DateCompleted,SubmittedBy,SubmitterEmail,TeacherName,TeacherRoom,TeacherExtension,ProblemDescription,Comments,Location,Responder,status,priority,classification,UserEmail,Timespent,cost" s-column="TeacherName" b-tableformat="TRUE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>TeacherName<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"TeacherName")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="29065" --></td> <td> <!--webbot bot="DatabaseResultColumn" s-columnnames="WorkorderID,DateSubmitted,DateCompleted,SubmittedBy,SubmitterEmail,TeacherName,TeacherRoom,TeacherExtension,ProblemDescription,Comments,Location,Responder,status,priority,classification,UserEmail,Timespent,cost" s-column="TeacherRoom" b-tableformat="TRUE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>TeacherRoom<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"TeacherRoom")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="30353" --></td> <td> <!--webbot bot="DatabaseResultColumn" s-columnnames="WorkorderID,DateSubmitted,DateCompleted,SubmittedBy,SubmitterEmail,TeacherName,TeacherRoom,TeacherExtension,ProblemDescription,Comments,Location,Responder,status,priority,classification,UserEmail,Timespent,cost" s-column="TeacherExtension" b-tableformat="TRUE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>TeacherExtension<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"TeacherExtension")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="44026" --></td> <td> <!--webbot bot="DatabaseResultColumn" s-columnnames="WorkorderID,DateSubmitted,DateCompleted,SubmittedBy,SubmitterEmail,TeacherName,TeacherRoom,TeacherExtension,ProblemDescription,Comments,Location,Responder,status,priority,classification,UserEmail,Timespent,cost" s-column="ProblemDescription" b-tableformat="TRUE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>ProblemDescription<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"ProblemDescription")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="58307" --></td> <td> <!--webbot bot="DatabaseResultColumn" s-columnnames="WorkorderID,DateSubmitted,DateCompleted,SubmittedBy,SubmitterEmail,TeacherName,TeacherRoom,TeacherExtension,ProblemDescription,Comments,Location,Responder,status,priority,classification,UserEmail,Timespent,cost" s-column="Comments" b-tableformat="TRUE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>Comments<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"Comments")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="16369" --></td> <td> <!--webbot bot="DatabaseResultColumn" s-columnnames="WorkorderID,DateSubmitted,DateCompleted,SubmittedBy,SubmitterEmail,TeacherName,TeacherRoom,TeacherExtension,ProblemDescription,Comments,Location,Responder,status,priority,classification,UserEmail,Timespent,cost" s-column="Location" b-tableformat="TRUE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>Location<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"Location")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="16691" --></td> <td> <!--webbot bot="DatabaseResultColumn" s-columnnames="WorkorderID,DateSubmitted,DateCompleted,SubmittedBy,SubmitterEmail,TeacherName,TeacherRoom,TeacherExtension,ProblemDescription,Comments,Location,Responder,status,priority,classification,UserEmail,Timespent,cost" s-column="Responder" b-tableformat="TRUE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>Responder<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"Responder")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="19823" --></td> <td> <!--webbot bot="DatabaseResultColumn" s-columnnames="WorkorderID,DateSubmitted,DateCompleted,SubmittedBy,SubmitterEmail,TeacherName,TeacherRoom,TeacherExtension,ProblemDescription,Comments,Location,Responder,status,priority,classification,UserEmail,Timespent,cost" s-column="status" b-tableformat="TRUE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>status<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"status")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="19226" --></td> <td> <!--webbot bot="DatabaseResultColumn" s-columnnames="WorkorderID,DateSubmitted,DateCompleted,SubmittedBy,SubmitterEmail,TeacherName,TeacherRoom,TeacherExtension,ProblemDescription,Comments,Location,Responder,status,priority,classification,UserEmail,Timespent,cost" s-column="priority" b-tableformat="TRUE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>priority<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"priority")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="19837" --></td> <td> <!--webbot bot="DatabaseResultColumn" s-columnnames="WorkorderID,DateSubmitted,DateCompleted,SubmittedBy,SubmitterEmail,TeacherName,TeacherRoom,TeacherExtension,ProblemDescription,Comments,Location,Responder,status,priority,classification,UserEmail,Timespent,cost" s-column="classification" b-tableformat="TRUE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>classification<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"classification")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="42482" --></td> <td> <!--webbot bot="DatabaseResultColumn" s-columnnames="WorkorderID,DateSubmitted,DateCompleted,SubmittedBy,SubmitterEmail,TeacherName,TeacherRoom,TeacherExtension,ProblemDescription,Comments,Location,Responder,status,priority,classification,UserEmail,Timespent,cost" s-column="UserEmail" b-tableformat="TRUE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>UserEmail<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"UserEmail")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="21317" --></td> <td> <!--webbot bot="DatabaseResultColumn" s-columnnames="WorkorderID,DateSubmitted,DateCompleted,SubmittedBy,SubmitterEmail,TeacherName,TeacherRoom,TeacherExtension,ProblemDescription,Comments,Location,Responder,status,priority,classification,UserEmail,Timespent,cost" s-column="Timespent" b-tableformat="TRUE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>Timespent<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"Timespent")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="20899" --></td> <td> <!--webbot bot="DatabaseResultColumn" s-columnnames="WorkorderID,DateSubmitted,DateCompleted,SubmittedBy,SubmitterEmail,TeacherName,TeacherRoom,TeacherExtension,ProblemDescription,Comments,Location,Responder,status,priority,classification,UserEmail,Timespent,cost" s-column="cost" b-tableformat="TRUE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>cost<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"cost")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="7072" --></td> </tr> <!--webbot bot="DatabaseRegionEnd" b-tableformat="TRUE" b-menuformat="FALSE" u-dbrgn2="../../../_fpclass/fpdbrgn2.inc" i-groupsize="5" clientside tag="TBODY" preview="<tr><td colspan=64 bgcolor="#FFFF00" width="100%"><font color="#000000">This is the end of a Database Results region.</font></td></tr><TR><TD VALIGN=MIDDLE COLSPAN=64><NOBR><INPUT TYPE=Button VALUE=" |< "><INPUT TYPE=Button VALUE=" < "><INPUT TYPE=Button VALUE=" > "><INPUT TYPE=Button VALUE=" >| "> [1/5]</NOBR><BR></td></tr>" startspan --><!--#include file="../../../_fpclass/fpdbrgn2.inc"--> <!--webbot bot="DatabaseRegionEnd" endspan i-checksum="9297" --></tbody> </table> <p> </td> </tr> </tbody> </table> </form> </body> </html>
|
|
|
|