J
jerod
Hello all,
I'm getting a frustrating error with my database (I guess all errors are
inherently frustrating, but alas) that I created with the DRW in
FrontPage2003. I have searched the knowledge base, but have been unable to
find anything pertaining to isolated editting issues.
I am able to edit most records, and the URL field seems to work for most of
the records, but not all. It seems that I am unable to change the field at
all. It contains a working link now, and I initially thought the character
string was too long, but after trying to edit it to something shorter, it's
still not working.
Any feedback would be greatly appreciated. I have included my code for your
perusal.
Thank you in advance.
jerod
<body bgcolor="#FFFFFF">
<!--webbot bot="PurpleText" PREVIEW="-Important- If you modify this
Database Results region using the Database Results Wizard, then your Database
Editor will no longer work. If you accidentally open the Database Results
Wizard, simply click Cancel to exit without regenerating the Database Results
region." -->
<!--webbot bot="DatabaseRegionStart"
s-columnnames="Key,Product_Name,URL,Service_Unit,Quantity,Chemical_Family,OEL,Health_Risk,Control_Measures_Hand,Control_Measures_Eye,Control_Measures_Respiratory,Control_Measures_Other,First_Aid_Initial_Actions,Spills_Cleanup,Flammable_Spill_Code,Incompatible_with,msdsdate"
s-columntypes="3,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,135"
s-dataconnection="whs" b-tableformat="FALSE" b-menuformat="FALSE"
s-menuchoice s-menuvalue b-tableborder="TRUE" b-tableexpand="TRUE"
b-tableheader="TRUE" b-listlabels="TRUE" b-listseparator="FALSE"
i-ListFormat="5" b-makeform="FALSE" s-RecordSource="Results"
s-displaycolumns="Key,Product_Name,URL,Service_Unit,Quantity,Chemical_Family,OEL,Health_Risk,Control_Measures_Hand,Control_Measures_Eye,Control_Measures_Respiratory,Control_Measures_Other,First_Aid_Initial_Actions,Spills_Cleanup,Flammable_Spill_Code,Incompatible_with,msdsdate"
s-criteria="{Key} EQ {Key} +" s-order s-sql="SELECT * FROM Results WHERE Key
= ::Key::" b-procedure="FALSE" clientside SuggestedExt="asp"
s-DefaultFields="Key=0" s-NoRecordsFound="No records returned."
i-MaxRecords="1" i-GroupSize="0" u-dblib="../../../_fpclass/fpdblib.inc"
u-dbrgn1="../../../_fpclass/fpdbrgn1.inc"
u-dbrgn2="../../../_fpclass/fpdbrgn2.inc" Tag="BODY" startspan BOTID="0"
preview="<table border=0 width="100%"><tr><td bgcolor="#FFFF00"><font
color="#000000">This is the start of a Database Results
region.</font></td></tr></table>" --><!--#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 Results WHERE Key = ::Key::"
fp_sDefault="Key=0"
fp_sNoRecords="No records returned."
fp_sDataConn="whs"
fp_iMaxRecords=1
fp_iCommandType=1
fp_iPageSize=0
fp_fTableFormat=False
fp_fMenuFormat=False
fp_sMenuChoice=""
fp_sMenuValue=""
fp_sColTypes="&Key=3&Product_Name=202&URL=202&Service_Unit=202&Quantity=202&Chemical_Family=202&OEL=202&Health_Risk=202&Control_Measures_Hand=202&Control_Measures_Eye=202&Control_Measures_Respiratory=202&Control_Measures_Other=202&First_Aid_Initial_Actions=202&Spills_Cleanup=202&Flammable_Spill_Code=202&Incompatible_with=202&msdsdate=135&"
fp_iDisplayCols=17
fp_fCustomQuery=False
BOTID=0
fp_iRegion=BOTID
%>
<!--#include file="../../../_fpclass/fpdbrgn1.inc"-->
<!--webbot bot="DatabaseRegionStart" endspan i-checksum="62246" --> <form
METHOD="POST" action="update.asp" onsubmit="return
FrontPage_Form1_Validator(this)" language="JavaScript" name="FrontPage_Form1">
<table BORDER=0>
<tr>
<td><b><font size="2">Product_Name:</font></b></td>
<td> <!--webbot bot="Validation" s-display-name="Product_Name"
s-data-type="String" b-value-required="False" i-maximum-length="255"
--><input type="TEXT" name="Product_Name" size="64"
value="<%=FP_FieldHTML(fp_rs,"Product_Name")%>" maxlength="255"></td>
</tr>
<tr>
<td><b><font size="2">URL:</font></b></td>
<td> <!--webbot bot="Validation" s-display-name="URL" s-data-type="String"
b-value-required="False" i-maximum-length="255" --><input type="TEXT"
name="URL" size="64" value="<%=FP_FieldHTML(fp_rs,"URL")%>"
maxlength="255"></td>
</tr>
<tr>
<td><b><font size="2">Service_Unit:</font></b></td>
<td> <!--webbot bot="Validation" s-display-name="Service_Unit"
s-data-type="String" b-value-required="False" i-maximum-length="255"
--><input type="TEXT" name="Service_Unit" size="64"
value="<%=FP_FieldHTML(fp_rs,"Service_Unit")%>" maxlength="255"></td>
</tr>
<tr>
<td><b><font size="2">Quantity:</font></b></td>
<td> <!--webbot bot="Validation" s-display-name="Quantity"
s-data-type="String" b-value-required="False" i-maximum-length="255"
--><input type="TEXT" name="Quantity" size="64"
value="<%=FP_FieldHTML(fp_rs,"Quantity")%>" maxlength="255"></td>
</tr>
<tr>
<td><b><font size="2">Chemical_Family:</font></b></td>
<td> <!--webbot bot="Validation" s-display-name="Chemical_Family"
s-data-type="String" b-value-required="False" i-maximum-length="255"
--><input type="TEXT" name="Chemical_Family" size="64"
value="<%=FP_FieldHTML(fp_rs,"Chemical_Family")%>" maxlength="255"></td>
</tr>
<tr>
<td><b><font size="2">OEL:</font></b></td>
<td> <!--webbot bot="Validation" s-display-name="OEL" s-data-type="String"
b-value-required="False" i-maximum-length="255" --><input type="TEXT"
name="OEL" size="64" value="<%=FP_FieldHTML(fp_rs,"OEL")%>"
maxlength="255"></td>
</tr>
<tr>
<td><b><font size="2">Health_Risk:</font></b></td>
<td> <!--webbot bot="Validation" s-display-name="Health_Risk"
s-data-type="String" b-value-required="False" i-maximum-length="255"
--><input type="TEXT" name="Health_Risk" size="64"
value="<%=FP_FieldHTML(fp_rs,"Health_Risk")%>" maxlength="255"></td>
</tr>
<tr>
<td><b><font size="2">Control_Measures_Hand:</font></b></td>
<td> <!--webbot bot="Validation" s-display-name="Control_Measures_Hand"
s-data-type="String" b-value-required="False" i-maximum-length="255"
--><input type="TEXT" name="Control_Measures_Hand" size="64"
value="<%=FP_FieldHTML(fp_rs,"Control_Measures_Hand")%>" maxlength="255"></td>
</tr>
<tr>
<td><b><font size="2">Control_Measures_Eye:</font></b></td>
<td> <!--webbot bot="Validation" s-display-name="Control_Measures_Eye"
s-data-type="String" b-value-required="False" i-maximum-length="255"
--><input type="TEXT" name="Control_Measures_Eye" size="64"
value="<%=FP_FieldHTML(fp_rs,"Control_Measures_Eye")%>" maxlength="255"></td>
</tr>
<tr>
<td><b><font size="2">Control_Measures_Respiratory:</font></b></td>
<td> <!--webbot bot="Validation"
s-display-name="Control_Measures_Respiratory" s-data-type="String"
b-value-required="False" i-maximum-length="255" --><input type="TEXT"
name="Control_Measures_Respiratory" size="64"
value="<%=FP_FieldHTML(fp_rs,"Control_Measures_Respiratory")%>"
maxlength="255"></td>
</tr>
<tr>
<td><b><font size="2">Control_Measures_Other:</font></b></td>
<td> <!--webbot bot="Validation" s-display-name="Control_Measures_Other"
s-data-type="String" b-value-required="False" i-maximum-length="255"
--><input type="TEXT" name="Control_Measures_Other" size="64"
value="<%=FP_FieldHTML(fp_rs,"Control_Measures_Other")%>"
maxlength="255"></td>
</tr>
<tr>
<td><b><font size="2">First_Aid_Initial_Actions:</font></b></td>
<td> <!--webbot bot="Validation" s-display-name="First_Aid_Initial_Actions"
s-data-type="String" b-value-required="False" i-maximum-length="255"
--><input type="TEXT" name="First_Aid_Initial_Actions" size="64"
value="<%=FP_FieldHTML(fp_rs,"First_Aid_Initial_Actions")%>"
maxlength="255"></td>
</tr>
<tr>
<td><b><font size="2">Spills_Cleanup:</font></b></td>
<td> <!--webbot bot="Validation" s-display-name="Spills_Cleanup"
s-data-type="String" b-value-required="False" i-maximum-length="255"
--><input type="TEXT" name="Spills_Cleanup" size="64"
value="<%=FP_FieldHTML(fp_rs,"Spills_Cleanup")%>" maxlength="255"></td>
</tr>
<tr>
<td><b><font size="2">Flammable_Spill_Code:</font></b></td>
<td> <!--webbot bot="Validation" s-display-name="Flammable_Spill_Code"
s-data-type="String" b-value-required="False" i-maximum-length="255"
--><input type="TEXT" name="Flammable_Spill_Code" size="64"
value="<%=FP_FieldHTML(fp_rs,"Flammable_Spill_Code")%>" maxlength="255"></td>
</tr>
<tr>
<td><b><font size="2">Incompatible_with:</font></b></td>
<td> <!--webbot bot="Validation" s-display-name="Incompatible_with"
s-data-type="String" b-value-required="False" i-maximum-length="255"
--><input type="TEXT" name="Incompatible_with" size="64"
value="<%=FP_FieldHTML(fp_rs,"Incompatible_with")%>" maxlength="255"></td>
</tr>
<tr>
<td><b><font size="2">msdsdate:</font></b></td>
<td> <!--webbot bot="Validation" s-display-name="msdsdate"
s-data-type="String" b-value-required="False" i-maximum-length="0" --><input
type="TEXT" name="msdsdate" size="19"
value="<%=FP_FieldHTML(fp_rs,"msdsdate")%>"></td>
</tr>
<tr>
<td colspan="2"><input type="submit" value=" OK "><input type="reset"
value=" Reset "></td>
</tr>
</table>
<input type="hidden" name="Key" value="<%=FP_FieldHTML(fp_rs,"Key")%>">
</form>
<!--webbot bot="DatabaseRegionEnd" b-tableformat="FALSE"
b-menuformat="FALSE" u-dbrgn2="../../../_fpclass/fpdbrgn2.inc"
i-groupsize="0" clientside Tag="BODY" startspan preview="<table border=0
width="100%"><tr><td bgcolor="#FFFF00"><font color="#000000">This is the end
of a Database Results region.</font></td></tr></table>" --><!--#include
file="../../../_fpclass/fpdbrgn2.inc"-->
<!--webbot bot="DatabaseRegionEnd" endspan i-checksum="9297" -->
<p>
<a href="../../../adminhelp.htm">Admin Help</a></p>
<p> </p>
</body>
I'm getting a frustrating error with my database (I guess all errors are
inherently frustrating, but alas) that I created with the DRW in
FrontPage2003. I have searched the knowledge base, but have been unable to
find anything pertaining to isolated editting issues.
I am able to edit most records, and the URL field seems to work for most of
the records, but not all. It seems that I am unable to change the field at
all. It contains a working link now, and I initially thought the character
string was too long, but after trying to edit it to something shorter, it's
still not working.
Any feedback would be greatly appreciated. I have included my code for your
perusal.
Thank you in advance.
jerod
<body bgcolor="#FFFFFF">
<!--webbot bot="PurpleText" PREVIEW="-Important- If you modify this
Database Results region using the Database Results Wizard, then your Database
Editor will no longer work. If you accidentally open the Database Results
Wizard, simply click Cancel to exit without regenerating the Database Results
region." -->
<!--webbot bot="DatabaseRegionStart"
s-columnnames="Key,Product_Name,URL,Service_Unit,Quantity,Chemical_Family,OEL,Health_Risk,Control_Measures_Hand,Control_Measures_Eye,Control_Measures_Respiratory,Control_Measures_Other,First_Aid_Initial_Actions,Spills_Cleanup,Flammable_Spill_Code,Incompatible_with,msdsdate"
s-columntypes="3,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,135"
s-dataconnection="whs" b-tableformat="FALSE" b-menuformat="FALSE"
s-menuchoice s-menuvalue b-tableborder="TRUE" b-tableexpand="TRUE"
b-tableheader="TRUE" b-listlabels="TRUE" b-listseparator="FALSE"
i-ListFormat="5" b-makeform="FALSE" s-RecordSource="Results"
s-displaycolumns="Key,Product_Name,URL,Service_Unit,Quantity,Chemical_Family,OEL,Health_Risk,Control_Measures_Hand,Control_Measures_Eye,Control_Measures_Respiratory,Control_Measures_Other,First_Aid_Initial_Actions,Spills_Cleanup,Flammable_Spill_Code,Incompatible_with,msdsdate"
s-criteria="{Key} EQ {Key} +" s-order s-sql="SELECT * FROM Results WHERE Key
= ::Key::" b-procedure="FALSE" clientside SuggestedExt="asp"
s-DefaultFields="Key=0" s-NoRecordsFound="No records returned."
i-MaxRecords="1" i-GroupSize="0" u-dblib="../../../_fpclass/fpdblib.inc"
u-dbrgn1="../../../_fpclass/fpdbrgn1.inc"
u-dbrgn2="../../../_fpclass/fpdbrgn2.inc" Tag="BODY" startspan BOTID="0"
preview="<table border=0 width="100%"><tr><td bgcolor="#FFFF00"><font
color="#000000">This is the start of a Database Results
region.</font></td></tr></table>" --><!--#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 Results WHERE Key = ::Key::"
fp_sDefault="Key=0"
fp_sNoRecords="No records returned."
fp_sDataConn="whs"
fp_iMaxRecords=1
fp_iCommandType=1
fp_iPageSize=0
fp_fTableFormat=False
fp_fMenuFormat=False
fp_sMenuChoice=""
fp_sMenuValue=""
fp_sColTypes="&Key=3&Product_Name=202&URL=202&Service_Unit=202&Quantity=202&Chemical_Family=202&OEL=202&Health_Risk=202&Control_Measures_Hand=202&Control_Measures_Eye=202&Control_Measures_Respiratory=202&Control_Measures_Other=202&First_Aid_Initial_Actions=202&Spills_Cleanup=202&Flammable_Spill_Code=202&Incompatible_with=202&msdsdate=135&"
fp_iDisplayCols=17
fp_fCustomQuery=False
BOTID=0
fp_iRegion=BOTID
%>
<!--#include file="../../../_fpclass/fpdbrgn1.inc"-->
<!--webbot bot="DatabaseRegionStart" endspan i-checksum="62246" --> <form
METHOD="POST" action="update.asp" onsubmit="return
FrontPage_Form1_Validator(this)" language="JavaScript" name="FrontPage_Form1">
<table BORDER=0>
<tr>
<td><b><font size="2">Product_Name:</font></b></td>
<td> <!--webbot bot="Validation" s-display-name="Product_Name"
s-data-type="String" b-value-required="False" i-maximum-length="255"
--><input type="TEXT" name="Product_Name" size="64"
value="<%=FP_FieldHTML(fp_rs,"Product_Name")%>" maxlength="255"></td>
</tr>
<tr>
<td><b><font size="2">URL:</font></b></td>
<td> <!--webbot bot="Validation" s-display-name="URL" s-data-type="String"
b-value-required="False" i-maximum-length="255" --><input type="TEXT"
name="URL" size="64" value="<%=FP_FieldHTML(fp_rs,"URL")%>"
maxlength="255"></td>
</tr>
<tr>
<td><b><font size="2">Service_Unit:</font></b></td>
<td> <!--webbot bot="Validation" s-display-name="Service_Unit"
s-data-type="String" b-value-required="False" i-maximum-length="255"
--><input type="TEXT" name="Service_Unit" size="64"
value="<%=FP_FieldHTML(fp_rs,"Service_Unit")%>" maxlength="255"></td>
</tr>
<tr>
<td><b><font size="2">Quantity:</font></b></td>
<td> <!--webbot bot="Validation" s-display-name="Quantity"
s-data-type="String" b-value-required="False" i-maximum-length="255"
--><input type="TEXT" name="Quantity" size="64"
value="<%=FP_FieldHTML(fp_rs,"Quantity")%>" maxlength="255"></td>
</tr>
<tr>
<td><b><font size="2">Chemical_Family:</font></b></td>
<td> <!--webbot bot="Validation" s-display-name="Chemical_Family"
s-data-type="String" b-value-required="False" i-maximum-length="255"
--><input type="TEXT" name="Chemical_Family" size="64"
value="<%=FP_FieldHTML(fp_rs,"Chemical_Family")%>" maxlength="255"></td>
</tr>
<tr>
<td><b><font size="2">OEL:</font></b></td>
<td> <!--webbot bot="Validation" s-display-name="OEL" s-data-type="String"
b-value-required="False" i-maximum-length="255" --><input type="TEXT"
name="OEL" size="64" value="<%=FP_FieldHTML(fp_rs,"OEL")%>"
maxlength="255"></td>
</tr>
<tr>
<td><b><font size="2">Health_Risk:</font></b></td>
<td> <!--webbot bot="Validation" s-display-name="Health_Risk"
s-data-type="String" b-value-required="False" i-maximum-length="255"
--><input type="TEXT" name="Health_Risk" size="64"
value="<%=FP_FieldHTML(fp_rs,"Health_Risk")%>" maxlength="255"></td>
</tr>
<tr>
<td><b><font size="2">Control_Measures_Hand:</font></b></td>
<td> <!--webbot bot="Validation" s-display-name="Control_Measures_Hand"
s-data-type="String" b-value-required="False" i-maximum-length="255"
--><input type="TEXT" name="Control_Measures_Hand" size="64"
value="<%=FP_FieldHTML(fp_rs,"Control_Measures_Hand")%>" maxlength="255"></td>
</tr>
<tr>
<td><b><font size="2">Control_Measures_Eye:</font></b></td>
<td> <!--webbot bot="Validation" s-display-name="Control_Measures_Eye"
s-data-type="String" b-value-required="False" i-maximum-length="255"
--><input type="TEXT" name="Control_Measures_Eye" size="64"
value="<%=FP_FieldHTML(fp_rs,"Control_Measures_Eye")%>" maxlength="255"></td>
</tr>
<tr>
<td><b><font size="2">Control_Measures_Respiratory:</font></b></td>
<td> <!--webbot bot="Validation"
s-display-name="Control_Measures_Respiratory" s-data-type="String"
b-value-required="False" i-maximum-length="255" --><input type="TEXT"
name="Control_Measures_Respiratory" size="64"
value="<%=FP_FieldHTML(fp_rs,"Control_Measures_Respiratory")%>"
maxlength="255"></td>
</tr>
<tr>
<td><b><font size="2">Control_Measures_Other:</font></b></td>
<td> <!--webbot bot="Validation" s-display-name="Control_Measures_Other"
s-data-type="String" b-value-required="False" i-maximum-length="255"
--><input type="TEXT" name="Control_Measures_Other" size="64"
value="<%=FP_FieldHTML(fp_rs,"Control_Measures_Other")%>"
maxlength="255"></td>
</tr>
<tr>
<td><b><font size="2">First_Aid_Initial_Actions:</font></b></td>
<td> <!--webbot bot="Validation" s-display-name="First_Aid_Initial_Actions"
s-data-type="String" b-value-required="False" i-maximum-length="255"
--><input type="TEXT" name="First_Aid_Initial_Actions" size="64"
value="<%=FP_FieldHTML(fp_rs,"First_Aid_Initial_Actions")%>"
maxlength="255"></td>
</tr>
<tr>
<td><b><font size="2">Spills_Cleanup:</font></b></td>
<td> <!--webbot bot="Validation" s-display-name="Spills_Cleanup"
s-data-type="String" b-value-required="False" i-maximum-length="255"
--><input type="TEXT" name="Spills_Cleanup" size="64"
value="<%=FP_FieldHTML(fp_rs,"Spills_Cleanup")%>" maxlength="255"></td>
</tr>
<tr>
<td><b><font size="2">Flammable_Spill_Code:</font></b></td>
<td> <!--webbot bot="Validation" s-display-name="Flammable_Spill_Code"
s-data-type="String" b-value-required="False" i-maximum-length="255"
--><input type="TEXT" name="Flammable_Spill_Code" size="64"
value="<%=FP_FieldHTML(fp_rs,"Flammable_Spill_Code")%>" maxlength="255"></td>
</tr>
<tr>
<td><b><font size="2">Incompatible_with:</font></b></td>
<td> <!--webbot bot="Validation" s-display-name="Incompatible_with"
s-data-type="String" b-value-required="False" i-maximum-length="255"
--><input type="TEXT" name="Incompatible_with" size="64"
value="<%=FP_FieldHTML(fp_rs,"Incompatible_with")%>" maxlength="255"></td>
</tr>
<tr>
<td><b><font size="2">msdsdate:</font></b></td>
<td> <!--webbot bot="Validation" s-display-name="msdsdate"
s-data-type="String" b-value-required="False" i-maximum-length="0" --><input
type="TEXT" name="msdsdate" size="19"
value="<%=FP_FieldHTML(fp_rs,"msdsdate")%>"></td>
</tr>
<tr>
<td colspan="2"><input type="submit" value=" OK "><input type="reset"
value=" Reset "></td>
</tr>
</table>
<input type="hidden" name="Key" value="<%=FP_FieldHTML(fp_rs,"Key")%>">
</form>
<!--webbot bot="DatabaseRegionEnd" b-tableformat="FALSE"
b-menuformat="FALSE" u-dbrgn2="../../../_fpclass/fpdbrgn2.inc"
i-groupsize="0" clientside Tag="BODY" startspan preview="<table border=0
width="100%"><tr><td bgcolor="#FFFF00"><font color="#000000">This is the end
of a Database Results region.</font></td></tr></table>" --><!--#include
file="../../../_fpclass/fpdbrgn2.inc"-->
<!--webbot bot="DatabaseRegionEnd" endspan i-checksum="9297" -->
<p>
<a href="../../../adminhelp.htm">Admin Help</a></p>
<p> </p>
</body>