A 404 error indicates that the CF server cannot find a file you are trying
to CFINCLUDE.
In this case it must be this line:
        <cfinclude template="Toolbar.cfm">
since that is the only include you are using.  If you are on a UNIX machine
be sure that the case sensitivity of the filename is correct.

I've also made some minor code changes that make your logic slightly cleaner
- (just suggestions)
                                                    
Bryan Love ACP
Internet Application Developer
[EMAIL PROTECTED]
                                                    


-----Original Message-----
From: Michael [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 23, 2001 9:43 AM
To: CF-Talk
Subject: Why wont this advance to the next record


Appreciate it someone could tell me why this wont advance to the next
record,  keep getting 404 error object not found

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">

<CFPARAM Name="ID" Default=1>
<cfparam name="url.first" default="1">
<Cfset startnextpage = url.first + 1>

<HTML>
<HEAD>


<cfquery name="selectcandidate" datasource="interview" dbtype="ODBC">
SELECT      ID, EmpCandidate, SKillBackground, Status, Recruiter, Profile
FROM        interview
WHERE ID=#ID#
</cfquery>

<TITLE>Interview Candidates</TITLE>
</HEAD>

<BODY bgcolor="6699ff">
<!--- include toolbar.cfm--->
<cfinclude template="Toolbar.cfm">

<cfoutput query="Selectcandidate" startrow="#url.first#" maxrows="1">
<table cellpadding="10">
<tr>
 <td>ID</td><br>
 <td>#id#</td><br>
</tr>
<tr>
 <td>Candidate Name</td><br>
 <td>#EmpCandidate#</td><br>
</tr>
<tr>
 <td>Skill Background</td>
 <td>#SKillBackground#</td>
</tr>
<tr>
 <td>Status</td>
 <td>#Status#</td>
</tr>
<tr>
 <td>Recruiter</td>
 <td>#Recruiter#</td>
</tr>
</table>
<BR><BR>
<a href="cfoutput-default2.cfm?First=#StartNextPage#">Next Record</a>
</cfoutput>
</body>

Thank You
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to