Kathleen
This is the code for the page which has been creating problems since
around Tuesday last week. Strange thing is that the page wasn't
touched, but the UKDate seems to be creating a problem all of a
sudden.
Maybe I'm paranoid, but didn't Microsoft issue a new patch around the
same time?
<START-CODE>
<td>Select Year: </td>
</tr>
<tr>
<td>
<table width="100%" border="1">
<thead>
<tr>
<th ALIGN="LEFT"><b>UKDate</b></th>
<th ALIGN="LEFT"><b>Key</b></th>
<th ALIGN="LEFT"><b>LongHeadline</b></th>
</tr>
</thead>
<tbody>
<!--webbot bot="DatabaseRegionStart"
s-columnnames="UKDate,Key,LongHeadline" s-columntypes="202,3,202"
s-dataconnection="news" b-tableformat="TRUE" b-menuformat="FALSE"
s-menuchoice="UKDate" s-menuvalue="UKDate" b-tableborder="TRUE"
b-tableexpand="TRUE" b-tableheader="TRUE" b-listlabels="TRUE"
b-listseparator="TRUE" i-listformat="0" b-makeform="FALSE"
s-recordsource s-displaycolumns="UKDate,Key,LongHeadline" s-criteria
s-order s-sql="SELECT format(StoryDate, 'dd/mm/yyyy') AS UKDate, Key,
LongHeadline FROM Results WHERE (FullStory LIKE '%::FullStory::%')
ORDER BY StoryDate DESC" b-procedure="FALSE" clientside
suggestedext="asp" s-defaultfields="FullStory=" s-norecordsfound="No
records returned. You may want to refine your search terms."
i-maxrecords="0" i-groupsize="20" 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"
width="100%"><font color="#000000">This
is the start of a Database Results
region.</font></td></tr>" b-UseDotNET="FALSE"
CurrentExt sa-InputTypes b-DataGridFormat="FALSE"
b-DGridAlternate="TRUE" sa-CritTypes 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 format(StoryDate, 'dd/mm/yyyy') AS UKDate, Key,
LongHeadline FROM Results WHERE (FullStory LIKE '%::FullStory::%')
ORDER BY StoryDate DESC"
fp_sDefault="FullStory="
fp_sNoRecords="<tr><td colspan=3 align=""LEFT"" width=""100%"">No
records returned. You may want to refine your search terms.</td></tr>"
fp_sDataConn="news"
fp_iMaxRecords=0
fp_iCommandType=1
fp_iPageSize=20
fp_fTableFormat=True
fp_fMenuFormat=False
fp_sMenuChoice="UKDate"
fp_sMenuValue="UKDate"
fp_sColTypes="&UKDate=202&Key=3&LongHeadline=202&"
fp_iDisplayCols=3
fp_fCustomQuery=True
BOTID=0
fp_iRegion=BOTID
%>
<!--#include file="_fpclass/fpdbrgn1.inc"-->
<!--webbot bot="DatabaseRegionStart" endspan i-checksum="59972"
--><tr> <td>
<!--webbot bot="DatabaseResultColumn"
s-columnnames="UKDate,Key,LongHeadline" s-column="UKDate"
b-tableformat="TRUE" b-hashtml="FALSE" b-makelink="FALSE" clientside
b-MenuFormat preview="<font
size="-1">&lt;&lt;</font>UKDate<font
size="-1">&gt;&gt;</font>"
startspan --><%=FP_FieldVal(fp_rs,"UKDate")%><!--webbot
bot="DatabaseResultColumn" endspan i-checksum="11875" --></td>
<td>
<!--webbot bot="DatabaseResultColumn"
s-columnnames="UKDate,Key,LongHeadline" s-column="Key"
b-tableformat="TRUE" b-hashtml="FALSE" b-makelink="FALSE" clientside
b-MenuFormat preview="<font
size="-1">&lt;&lt;</font>Key<font
size="-1">&gt;&gt;</font>"
startspan --><%=FP_FieldVal(fp_rs,"Key")%><!--webbot
bot="DatabaseResultColumn" endspan i-checksum="2510" --></td>
<td>
<!--webbot bot="DatabaseResultColumn"
s-columnnames="UKDate,Key,LongHeadline" s-column="LongHeadline"
b-tableformat="TRUE" b-hashtml="FALSE" b-makelink="FALSE" clientside
b-MenuFormat preview="<font
size="-1">&lt;&lt;</font>LongHeadline<font
size="-1">&gt;&gt;</font>"
startspan --><%=FP_FieldVal(fp_rs,"LongHeadline")%><!--webbot
bot="DatabaseResultColumn" endspan i-checksum="32081" --></td>
</tr>
<!--webbot bot="DatabaseRegionEnd"
b-tableformat="TRUE" b-menuformat="FALSE"
u-dbrgn2="_fpclass/fpdbrgn2.inc" i-groupsize="20" 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/20]</NOBR><BR></td></tr>"
startspan --><!--#include file="_fpclass/fpdbrgn2.inc"-->
<!--webbot bot="DatabaseRegionEnd" endspan i-checksum="62730"
--></tbody> </table>
</td>
</END-CODE>
I made the change you specified and the Error message it gives is as
follows:
Database Results Wizard Error
Your page contains a query with user input parameters that could not
be resolved.
This could happen if your DatabaseRegionStart webbot has an empty or
missing s-columnnames or s-columntypes attributes.
You may need to read Microsoft Knowledge Base Article 817029.
Thanks
John
Kathleen Anderson said:
Edit the file fpdbrgn1.inc (in the _fpclass folder) and set fp_DEBUG
= True and then try again and tell us what the error message is.
--
~ Kathleen Anderson
Microsoft MVP - FrontPage
Spider Web Woman Designs
http://www.spiderwebwoman.com/resources/