Ok, I need help can some one please help me.  I don't know what I am doing 
wrong. I have included the error and my code on both pages.


I keep getting this error:

Error Diagnostic Information
ODBC Error Code = S1000 (General error)
[Microsoft][ODBC Microsoft Access Driver] The search key was not found in 
any record.
The error occurred while processing an element with a general identifier of 
(CFUPDATE), occupying document position (6:1) to (6:84).
Date/Time: 05/17/01 12:21:22

CODE: PAGE 1

<!DOCTYPE html public "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>Untitled</TITLE>

<CFQUERY name="define" datasource="#application.db#">
select *
from pages
where id = 3
</CFQUERY>
</HEAD>
<BODY>
<CFOUTPUT>
         <TABLE width="600">
                 <TR>
                         <TD>
                                 <FORM action="edit2.cfm" method="post">
                                         <!---<CF_ACTIVEDIT ds="" 
fieldname="" table="pages" inc="" type="edit" primarykey="id" 
primarykeyvalue="" cutcopypaste="yes" upload="yes" 
redoundo="yes">#define.htmlcode# --->
  <cf_activedit inc="activedit/inc/"  type="edit" ds="alliance" 
table="pages" image="no">#define.htmlcode# </CF_ACTIVEDIT>

<input type="hidden" name="id" value="3">
                                 <CENTER><BR>

                                         <INPUT type="submit" 
value="SAVE"></CENTER>
                         </TD>
                 </TR>
         </TABLE>
</FORM>
</CFOUTPUT>
</BODY>
</HTML>

CODE: PAGE 2

<!DOCTYPE html public "-//W3C//DTD HTML 4.0 Transitional//EN">
<HTML>
<HEAD>
<TITLE>Untitled</TITLE><CFSET form.htmlcode = #ATTRIBUTES.FIELDNAME#>
<cfupdate datasource="#application.db#" tablename="pages" 
formfields="htmlcode, id">
<CFOUTPUT>

         </HEAD>
<BODY>
<BR><BR><FONT face="arial">
Finished</FONT>
</CFOUTPUT>
</BODY>
</HTML>




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

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to