here is a direct cut and paste of the code the frontpage creates using the
DRW.
<table width="100%" border="1">
<thead>
<tr>
<td><b>ID</b></td>
<td><b>HostName</b></td>
</tr>
</thead>
<tbody>
<!--webbot bot="DatabaseRegionStart"
s-columnnames="ID,HostName,IP,Location,Mfg"
s-columntypes="3,202,202,202,202" s-dataconnection="DR-TEST"
b-tableformat="TRUE" b-menuformat="FALSE" s-menuchoice="ID" s-menuvalue="ID"
b-tableborder="TRUE" b-tableexpand="TRUE" b-tableheader="TRUE"
b-listlabels="TRUE" b-listseparator="TRUE" i-listformat="0"
b-makeform="TRUE" s-recordsource="DR Book" s-displaycolumns="ID,HostName"
s-criteria s-order s-sql="SELECT * FROM &quot;DR Book&quot;"
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" tag="TBODY" preview="<tr><td
colspan=64 bgcolor="#FFFF00" align="left"
width="100%"><font color="#000000">This is the
start of a Database Results region.</font></td></tr>"
b-WasTableFormat="TRUE" 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 ""DR Book"""
fp_sDefault=""
fp_sNoRecords="<tr><td colspan=2 align=left width=""100%"">No records
returned.</td></tr>"
fp_sDataConn="DR-TEST"
fp_iMaxRecords=256
fp_iCommandType=1
fp_iPageSize=0
fp_fTableFormat=True
fp_fMenuFormat=False
fp_sMenuChoice="ID"
fp_sMenuValue="ID"
fp_iDisplayCols=2
fp_fCustomQuery=False
BOTID=0
fp_iRegion=BOTID
%>
<!--#include file="_fpclass/fpdbrgn1.inc"-->
<!--webbot bot="DatabaseRegionStart" endspan i-checksum="3038" --><tr>
<td><a href="display.asp?ID=<%=FP_FieldURL(fp_rs,"ID")%>">
<!--webbot bot="DatabaseResultColumn"
s-columnnames="ID,HostName,IP,Location,Mfg" s-column="ID"
b-tableformat="TRUE" b-hashtml="FALSE" b-makelink="FALSE" clientside
b-MenuFormat preview="<font
size="-1">&lt;&lt;</font>ID<font
size="-1">&gt;&gt;</font>"
startspan --><%=FP_FieldVal(fp_rs,"ID")%><!--webbot
bot="DatabaseResultColumn" endspan i-checksum="62813" --></a></td>
<td>
<!--webbot bot="DatabaseResultColumn"
s-columnnames="ID,HostName,IP,Location,Mfg" s-column="HostName"
b-tableformat="TRUE" b-hashtml="FALSE" b-makelink="FALSE" clientside
b-MenuFormat preview="<font
size="-1">&lt;&lt;</font>HostName<font
size="-1">&gt;&gt;</font>"
startspan --><%=FP_FieldVal(fp_rs,"HostName")%><!--webbot
bot="DatabaseResultColumn" endspan i-checksum="15953" --></td>
</tr>
<!--webbot bot="DatabaseRegionEnd" b-tableformat="TRUE"
b-menuformat="FALSE" u-dbrgn2="_fpclass/fpdbrgn2.inc" i-groupsize="0"
clientside tag="TBODY" preview="<tr><td colspan=64
bgcolor="#FFFF00" align="left"
width="100%"><font color="#000000">This is the
end of a Database Results region.</font></td></tr>"
startspan --><!--#include file="_fpclass/fpdbrgn2.inc"-->
<!--webbot bot="DatabaseRegionEnd" endspan i-checksum="62730" --></tbody>
</table>
</body>
</html>
--
Thanks
Paul Schandel
------------------
http://www.get-me-home.org
Thomas A. Rowe said:
Please show us the query statement you are using.
--
==============================================
Thomas A. Rowe (Microsoft MVP - FrontPage)
WEBMASTER Resources(tm)
FrontPage Resources, Forums, WebCircle,
MS KB Quick Links, etc.
==============================================
Paul Schandel said:
As another test.
I created a whole new test database. With new simple table names and test
data. There were a total of 5 fields. All populated with data.
I cannot get it to just list out the data without getting the same error
knowing there are at this time no spaces or otherwise in the page but still
get the following error:
Database Results Error
Description: Syntax error in query. Incomplete query clause.
Number: -2147217900 (0x80040E14)
Source: Microsoft JET Database Engine
thanks...
has