|
DaveKstl -> RE: Can a webbot confirmation field be used in asp (4/22/2004 7:37:56)
|
<html> <head> <% ' 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 method="POST" action="--WEBBOT-SELF--"> <!--webbot bot="SaveDatabase" SuggestedExt="asp" S-DataConnection="Submit1" S-RecordSource="Results" U-Database-URL="fpdb/Submit1.mdb" U-Confirmation-Url="Confirm.asp" S-Builtin-Fields="REMOTE_HOST HTTP_USER_AGENT Timestamp REMOTE_USER" S-Builtin-DBFields="Remote_computer_name Browser_type Timestamp User_name" S-Form-Fields="Name ClassID" S-Form-DBFields="Name ClassID" --> <p><nobr> <!--webbot bot="DatabaseRegionStart" s-columnnames="ID,Class,Date,Complete,Cancel,Remote_computer_name,User_name,Browser_type,Timestamp" s-columntypes="3,202,135,11,11,202,202,202,135" s-dataconnection="LMS" b-tableformat="FALSE" b-menuformat="TRUE" s-menuchoice="Class" s-menuvalue="ID" b-tableborder="TRUE" b-tableexpand="TRUE" b-tableheader="TRUE" b-listlabels="TRUE" b-listseparator="TRUE" i-listformat="0" b-makeform="FALSE" s-recordsource="Classes" s-displaycolumns="ID,Class,Date" s-criteria s-order="[Class] + [Date] +" s-sql="SELECT * FROM Classes ORDER BY Class ASC,Date ASC" b-procedure="FALSE" clientside suggestedext="asp" s-defaultfields s-norecordsfound="No records returned." i-maxrecords="256" i-groupsize="0" botid="0" u-dblib="_fpclass/fpdblib.inc" u-dbrgn1="_fpclass/fpdbrgn1.inc" u-dbrgn2="_fpclass/fpdbrgn2.inc" preview=" <span style="color: rgb(0,0,0); background-color: rgb(255,255,0)">Database</span> " startspan b-InForm="TRUE" b-UseDotNET="FALSE" CurrentExt sa-InputTypes b-DataGridFormat="FALSE" b-DGridAlternate="TRUE" sa-CritTypes b-WasTableFormat="FALSE" --><!--#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 Classes ORDER BY Class ASC,Date ASC" fp_sDefault="" fp_sNoRecords="No records returned." fp_sDataConn="LMS" fp_iMaxRecords=256 fp_iCommandType=1 fp_iPageSize=0 fp_fTableFormat=False fp_fMenuFormat=True fp_sMenuChoice="Class" fp_sMenuValue="ID" fp_sColTypes="&ID=3&Class=202&Date=135&Complete=11&Cancel=11&Remote_computer_name=202&User_name=202&Browser_type=202&Timestamp=135&" fp_iDisplayCols=3 fp_fCustomQuery=False BOTID=0 fp_iRegion=BOTID %> <!--webbot bot="DatabaseRegionStart" endspan i-checksum="9607" --><select NAME="ClassID" SIZE="1"> <!--webbot bot="AspInclude" clientside u-incfile="_fpclass/fpdbrgn1.inc" startspan --><!--#include file="_fpclass/fpdbrgn1.inc"--> <!--webbot bot="AspInclude" endspan i-checksum="258" --> <option VALUE="<%=FP_FieldHTML(fp_rs,"ID")%>|<%=FP_FieldHTML(fp_rs,"Date")%>"><%=FP_FieldHTML(fp_rs,"Class")%> <%=FP_FieldHTML(fp_rs,"Date")%> </option> <!--webbot bot="AspInclude" clientside u-incfile="_fpclass/fpdbrgn2.inc" startspan --><!--#include file="_fpclass/fpdbrgn2.inc"--> <!--webbot bot="AspInclude" endspan i-checksum="266" --> </select><!--webbot bot="DatabaseRegionEnd" b-tableformat="FALSE" b-menuformat="TRUE" u-dbrgn2="_fpclass/fpdbrgn2.inc" i-groupsize="0" clientside preview=" <span style="color: rgb(0,0,0); background-color: rgb(255,255,0)">Results</span> " startspan --><!--webbot bot="DatabaseRegionEnd" endspan --></nobr></p> <p><input type="text" name="Name" size="20" value="Last Name"></p> <p><input type="submit" value="Submit" name="B1"><input type="reset" value="Reset" name="B2"></p> <input type="hidden" name="Dave" value=ClassID> <input type="hidden" name="Dave2" value=Class> <input type="hidden" name="Bob" value="777"> </form> </body> </html>
|
|
|
|