Trandel
Posts: 117 From: Johannesburg South Africa Status: offline
|
RE: DwebPro and MS Access - 7/20/2006 1:34:30
Hi, OK this is the code from the Frontpage view of the DRW for that page: <table width="95%">
<tbody>
<!--webbot bot="DatabaseRegionStart" s-columnnames="Cat,Contact,Co,Addr1,Addr2,Addr3,Addr4,Phone,Cell,Fax,OS Ind" s-columntypes="202,202,202,202,202,202,202,202,202,202,11" s-dataconnection="IOPSA" b-tableformat="TRUE" b-menuformat="FALSE" s-menuchoice="Cat" s-menuvalue="Cat" b-tableborder="FALSE" b-tableexpand="TRUE" b-tableheader="FALSE" b-listlabels="TRUE" b-listseparator="TRUE" i-listformat="0" b-makeform="FALSE" s-recordsource="Full_Members" s-displaycolumns="Cat,Contact,Co,Addr1,Addr2,Addr3,Addr4,Phone,Cell,Fax" s-criteria="[Addr4] BEG {FindZip} +" s-order="[Co] +" s-sql="SELECT * FROM Full_Members WHERE (Addr4 LIKE '::FindZip::%') ORDER BY Co ASC" b-procedure="FALSE" clientside suggestedext="asp" s-defaultfields="FindZip=" s-norecordsfound="No IOPSA Members were found serving this area" i-maxrecords="0" i-groupsize="5" botid="1" 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 b-UseDotNET="FALSE" CurrentExt sa-InputTypes="202" b-DataGridFormat="FALSE" b-DGridAlternate="TRUE" sa-CritTypes="202" b-WasTableFormat="TRUE" b-ReplaceDatabaseRegion="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 Full_Members WHERE (Addr4 LIKE '::FindZip::%') ORDER BY Co ASC"
fp_sDefault="FindZip="
fp_sNoRecords="<tr><td colspan=10 align=""LEFT"" width=""100%"">No IOPSA Members were found serving this area</td></tr>"
fp_sDataConn="IOPSA"
fp_iMaxRecords=0
fp_iCommandType=1
fp_iPageSize=5
fp_fTableFormat=True
fp_fMenuFormat=False
fp_sMenuChoice="Cat"
fp_sMenuValue="Cat"
fp_sColTypes="&Cat=202&Contact=202&Co=202&Addr1=202&Addr2=202&Addr3=202&Addr4=202&Phone=202&Cell=202&Fax=202&OS Ind=11&"
fp_iDisplayCols=10
fp_fCustomQuery=False
BOTID=1
fp_iRegion=BOTID
%>
<!--#include file="_fpclass/fpdbrgn1.inc"-->
<!--webbot bot="DatabaseRegionStart" endspan i-checksum="40940" --><tr>
<td align="left" valign="top" colspan="3">
<hr color="#000080" width="95%" size="1">
</td>
</tr>
<tr>
<td align="left" valign="top">
<p style="margin-top: 5px; margin-bottom: 5px">
<!--webbot bot="DatabaseResultColumn" s-columnnames="Cat,Contact,Co,Addr1,Addr2,Addr3,Addr4,Phone,Cell,Fax,OS Ind" s-column="Co" b-tableformat="TRUE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>Co<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"Co")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="2397" --></p>
<p style="margin-top: 5px; margin-bottom: 5px">
<!--webbot bot="DatabaseResultColumn" s-columnnames="Cat,Contact,Co,Addr1,Addr2,Addr3,Addr4,Phone,Cell,Fax,OS Ind" s-column="Addr1" b-tableformat="TRUE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>Addr1<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"Addr1")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="6705" --></p>
<p style="margin-top: 5px; margin-bottom: 5px">
<!--webbot bot="DatabaseResultColumn" s-columnnames="Cat,Contact,Co,Addr1,Addr2,Addr3,Addr4,Phone,Cell,Fax,OS Ind" s-column="Addr2" b-tableformat="TRUE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>Addr2<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"Addr2")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="6709" --></p>
<p style="margin-top: 5px; margin-bottom: 5px">
<!--webbot bot="DatabaseResultColumn" s-columnnames="Cat,Contact,Co,Addr1,Addr2,Addr3,Addr4,Phone,Cell,Fax,OS Ind" s-column="Addr3" b-tableformat="TRUE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>Addr3<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"Addr3")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="6713" --></p>
<p style="margin-top: 5px; margin-bottom: 5px">
<!--webbot bot="DatabaseResultColumn" s-columnnames="Cat,Contact,Co,Addr1,Addr2,Addr3,Addr4,Phone,Cell,Fax,OS Ind" s-column="Addr4" b-tableformat="TRUE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>Addr4<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"Addr4")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="6717" --></td>
<td align="right" valign="top" width="7%">
<p style="margin-top: 5px; margin-bottom: 5px">Tel:
</p>
<p style="margin-top: 5px; margin-bottom: 5px">Fax:
</p>
<p style="margin-top: 5px; margin-bottom: 5px">Cell:
</td>
<td align="left" valign="top" width="25%">
<p style="margin-top: 5px; margin-bottom: 5px">
<!--webbot bot="DatabaseResultColumn" s-columnnames="Cat,Contact,Co,Addr1,Addr2,Addr3,Addr4,Phone,Cell,Fax,OS Ind" s-column="Phone" b-tableformat="TRUE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>Phone<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"Phone")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="8388" --></p>
<p style="margin-top: 5px; margin-bottom: 5px">
<!--webbot bot="DatabaseResultColumn" s-columnnames="Cat,Contact,Co,Addr1,Addr2,Addr3,Addr4,Phone,Cell,Fax,OS Ind" s-column="Fax" b-tableformat="TRUE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>Fax<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"Fax")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="1677" --></p>
<p style="margin-top: 5px; margin-bottom: 5px">
<!--webbot bot="DatabaseResultColumn" s-columnnames="Cat,Contact,Co,Addr1,Addr2,Addr3,Addr4,Phone,Cell,Fax,OS Ind" s-column="Cell" b-tableformat="TRUE" b-hashtml="FALSE" b-makelink="FALSE" clientside b-MenuFormat preview="<font size="-1"><<</font>Cell<font size="-1">>></font>" startspan --><%=FP_FieldVal(fp_rs,"Cell")%><!--webbot bot="DatabaseResultColumn" endspan i-checksum="3721" --></p>
<p> </td>
</tr>
<tr>
<td align="left" valign="top" colspan="3">
<hr color="#000080" width="95%" size="1">
</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="62730" --></tbody>
</table> Looks a tad busy to me ? Regards Tony Randell
< Message edited by rdouglass -- 7/21/2006 10:03:21 >
|