|
walrus -> RE: delete database records and files (1/25/2005 14:43:05)
|
Thanks Spooky, Im not making any progress with the FSO but this code works fine... <body>
<table>
<tbody>
<!--#include file="_fpclass/fpdblib.inc"-->
<%
fp_sQry="DELETE * FROM Letting WHERE LettingID=::LettingID::"
fp_sDefault=""
fp_sNoRecords="<tr><td colspan=27 align=left width=""100%"">No records returned.</td></tr>"
fp_sDataConn="salesdata"
fp_iMaxRecords=256
fp_iCommandType=1
fp_iPageSize=0
fp_fTableFormat=True
fp_fMenuFormat=False
fp_sMenuChoice=""
fp_sMenuValue=""
fp_sColTypes="&LettingID=3&Letting_Office=202&Letting_Office_Tel=202&Letting_Door_Number=202&Letting_Building=202&Letting_Street=202&Letting_Town=202&Letting_Area=202&Letting_Postcode=202&Letting_Rent=3&Letting_Type=202&Letting_Beds=202&Letting_Photo_Main=202&Letting_Photo_2=202&Letting_Photo_3=202&Letting_Photo_4=202&Letting_Photo_5=202&Letting_Description=203&Letting_Details=203&Letting_Notes=202&Letting_PDF=202&Letting_Bullet1=202&Letting_Bullet2=202&Letting_Bullet3=202&Letting_Bullet4=202&Letting_Bullet5=202&Letting_Status=202&"
fp_iDisplayCols=27
fp_fCustomQuery=True
BOTID=0
fp_iRegion=BOTID
%>
<!--#include file="_fpclass/fpdbrgn1.inc"-->
<tr>
<td>
<%=FP_FieldVal(fp_rs,"LettingID")%></td>
<td>
<%=FP_FieldVal(fp_rs,"Letting_Office")%></td>
<td>
<%=FP_FieldVal(fp_rs,"Letting_Office_Tel")%></td>
<td>
<%=FP_FieldVal(fp_rs,"Letting_Door_Number")%></td>
<td>
<%=FP_FieldVal(fp_rs,"Letting_Building")%></td>
<td>
<%=FP_FieldVal(fp_rs,"Letting_Street")%></td>
<td>
<%=FP_FieldVal(fp_rs,"Letting_Town")%></td>
<td>
<%=FP_FieldVal(fp_rs,"Letting_Area")%></td>
<td>
<%=FP_FieldVal(fp_rs,"Letting_Postcode")%></td>
<td>
<%=FP_FieldVal(fp_rs,"Letting_Rent")%></td>
<td>
<%=FP_FieldVal(fp_rs,"Letting_Type")%></td>
<td>
<%=FP_FieldVal(fp_rs,"Letting_Beds")%></td>
<td>
<%=FP_FieldVal(fp_rs,"Letting_Photo_Main")%></td>
<td>
<%=FP_FieldVal(fp_rs,"Letting_Photo_2")%></td>
<td>
<%=FP_FieldVal(fp_rs,"Letting_Photo_3")%></td>
<td>
<%=FP_FieldVal(fp_rs,"Letting_Photo_4")%></td>
<td>
<%=FP_FieldVal(fp_rs,"Letting_Photo_5")%></td>
<td>
<%=FP_FieldVal(fp_rs,"Letting_Description")%></td>
<td>
<%=FP_FieldVal(fp_rs,"Letting_Details")%></td>
<td>
<%=FP_FieldVal(fp_rs,"Letting_Notes")%></td>
<td>
<%=FP_FieldVal(fp_rs,"Letting_PDF")%></td>
<td>
<%=FP_FieldVal(fp_rs,"Letting_Bullet1")%></td>
<td>
<%=FP_FieldVal(fp_rs,"Letting_Bullet2")%></td>
<td>
<%=FP_FieldVal(fp_rs,"Letting_Bullet3")%></td>
<td>
<%=FP_FieldVal(fp_rs,"Letting_Bullet4")%></td>
<td>
<%=FP_FieldVal(fp_rs,"Letting_Bullet5")%></td>
<td>
<%=FP_FieldVal(fp_rs,"Letting_Status")%></td>
</tr>
<!--#include file="_fpclass/fpdbrgn2.inc"-->
</tbody>
</table>
</body>
|
|
|
|