|
spcafc -> RE: Adding numbers in DB columns (1/31/2007 14:47:12)
|
Here's the code: <html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=windows-1252">
<title>Adoption_Dog</title>
</head>
<body>
<!--webbot bot="DatabaseRegionStart" s-columnnames="ID,Addition/Correction,Proof,Focus,Focus1,Name,County,MailingAddress,MailingAddress2,City,State,ZipCode,PhysicalAddress,PhysicalCity,PhysicalAddress2,PhysicalState,PhysicalZipCode,Phone,Fax,Email,Website,vetCare501,SN501,LowCost501,LowCost5012,respondToComplaints501,shelter501,euthanize501,rescueFosterSanctuary501,educate501,careAndTraining501,shelterSupport501,feralStrayTraps501,other501,Intake_Dog,Intake_Cat,Adoption_Dog,Adoption_Cat,Euthanasia_Dog,Euthanasia_Cat,SNFund,SNFund2" s-columntypes="3,202,202,202,202,202,202,202,202,202,202,3,202,202,202,202,3,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,202,3,3,3,3,3,3,202,202" s-dataconnection="db1" b-tableformat="FALSE" b-menuformat="FALSE" s-menuchoice s-menuvalue b-tableborder="TRUE" b-tableexpand="TRUE" b-tableheader="TRUE" b-listlabels="TRUE" b-listseparator="TRUE" i-listformat="5" b-makeform="FALSE" s-recordsource="Organizations" s-displaycolumns="Adoption_Dog,Adoption_Cat,Euthanasia_Dog,Euthanasia_Cat" s-criteria s-order s-sql="SELECT * FROM Organizations" b-procedure="FALSE" clientside suggestedext="asp" s-defaultfields s-norecordsfound i-maxrecords="0" i-groupsize="0" botid="0" u-dblib="_fpclass/fpdblib.inc" u-dbrgn1="_fpclass/fpdbrgn1.inc" u-dbrgn2="_fpclass/fpdbrgn2.inc" tag="BODY" preview="<table border=0 width="100%"><tr><td bgcolor="#FFFF00"><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></table>" 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 Organizations"
fp_sDefault=""
fp_sNoRecords=""
fp_sDataConn="db1"
fp_iMaxRecords=0
fp_iCommandType=1
fp_iPageSize=0
fp_fTableFormat=False
fp_fMenuFormat=False
fp_sMenuChoice=""
fp_sMenuValue=""
fp_sColTypes="&ID=3&Addition/Correction=202&Proof=202&Focus=202&Focus1=202&Name=202&County=202&MailingAddress=202&MailingAddress2=202&City=202&State=202&ZipCode=3&PhysicalAddress=202&PhysicalCity=202&PhysicalAddress2=202&PhysicalState=202&PhysicalZipCode=3&Phone=202&Fax=202&Email=202&Website=202&vetCare501=202&SN501=202&LowCost501=202&LowCost5012=202&respondToComplaints501=202&shelter501=202&euthanize501=202&rescueFosterSanctuary501=202&educate501=202&careAndTraining501=202&shelterSupport501=202&feralStrayTraps501=202&other501=202&Intake_Dog=3&Intake_Cat=3&Adoption_Dog=3&Adoption_Cat=3&Euthanasia_Dog=3&Euthanasia_Cat=3&SNFund=202&SNFund2=202&"
fp_iDisplayCols=4
fp_fCustomQuery=False
BOTID=0
fp_iRegion=BOTID
%>
<!--#include file="_fpclass/fpdbrgn1.inc"-->
<!--webbot bot="DatabaseRegionStart" endspan i-checksum="2325" --><table BORDER="1">
<tr>
<td><b>Adoption_Dog:</b></td>
<td>
<!--webbot bot="DatabaseResultColumn" s-columnnames="ID,Addition/Correction,Proof,Focus,Focus1,Name,County,MailingAddress,MailingAddress2,City,State,ZipCode,PhysicalAddress,PhysicalCity,PhysicalAddress2,PhysicalState,PhysicalZipCode,Phone,Fax,Email,Website,vetCare501,SN501,LowCost501,LowCost5012,respondToComplaints501,shelter501,euthanize501,rescueFosterSanctuary501,educate501,careAndTraining501,shelterSupport501,feralStrayTraps501,other501,Intake_Dog,Intake_Cat,Adoption_Dog,Adoption_Cat,Euthanasia_Dog,Euthanasia_Cat,SNFund,SNFund2" s-column="Adoption_Dog" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>Adoption_Dog<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"Adoption_Dog")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="25177" --></td>
</tr>
<tr>
<td><b>Adoption_Cat:</b></td>
<td>
<!--webbot bot="DatabaseResultColumn" s-columnnames="ID,Addition/Correction,Proof,Focus,Focus1,Name,County,MailingAddress,MailingAddress2,City,State,ZipCode,PhysicalAddress,PhysicalCity,PhysicalAddress2,PhysicalState,PhysicalZipCode,Phone,Fax,Email,Website,vetCare501,SN501,LowCost501,LowCost5012,respondToComplaints501,shelter501,euthanize501,rescueFosterSanctuary501,educate501,careAndTraining501,shelterSupport501,feralStrayTraps501,other501,Intake_Dog,Intake_Cat,Adoption_Dog,Adoption_Cat,Euthanasia_Dog,Euthanasia_Cat,SNFund,SNFund2" s-column="Adoption_Cat" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>Adoption_Cat<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"Adoption_Cat")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="25061" --></td>
</tr>
<tr>
<td><b>Euthanasia_Dog:</b></td>
<td>
<!--webbot bot="DatabaseResultColumn" s-columnnames="ID,Addition/Correction,Proof,Focus,Focus1,Name,County,MailingAddress,MailingAddress2,City,State,ZipCode,PhysicalAddress,PhysicalCity,PhysicalAddress2,PhysicalState,PhysicalZipCode,Phone,Fax,Email,Website,vetCare501,SN501,LowCost501,LowCost5012,respondToComplaints501,shelter501,euthanize501,rescueFosterSanctuary501,educate501,careAndTraining501,shelterSupport501,feralStrayTraps501,other501,Intake_Dog,Intake_Cat,Adoption_Dog,Adoption_Cat,Euthanasia_Dog,Euthanasia_Cat,SNFund,SNFund2" s-column="Euthanasia_Dog" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>Euthanasia_Dog<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"Euthanasia_Dog")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="42152" --></td>
</tr>
<tr>
<td><b>Euthanasia_Cat:</b></td>
<td>
<!--webbot bot="DatabaseResultColumn" s-columnnames="ID,Addition/Correction,Proof,Focus,Focus1,Name,County,MailingAddress,MailingAddress2,City,State,ZipCode,PhysicalAddress,PhysicalCity,PhysicalAddress2,PhysicalState,PhysicalZipCode,Phone,Fax,Email,Website,vetCare501,SN501,LowCost501,LowCost5012,respondToComplaints501,shelter501,euthanize501,rescueFosterSanctuary501,educate501,careAndTraining501,shelterSupport501,feralStrayTraps501,other501,Intake_Dog,Intake_Cat,Adoption_Dog,Adoption_Cat,Euthanasia_Dog,Euthanasia_Cat,SNFund,SNFund2" s-column="Euthanasia_Cat" b-tableformat="FALSE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>Euthanasia_Cat<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"Euthanasia_Cat")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="42198" --></td>
</tr>
</table>
<hr>
<!--webbot bot="DatabaseRegionEnd" b-tableformat="FALSE" b-menuformat="FALSE" u-dbrgn2="_fpclass/fpdbrgn2.inc" i-groupsize="0" clientside tag="BODY" 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>" startspan --><!--#include file="_fpclass/fpdbrgn2.inc"-->
<!--webbot bot="DatabaseRegionEnd" endspan i-checksum="62730" --></body></html>
|
|
|
|