HI, I Need help in my script. Everytime this is called, it displays a blank screen. This takes the Primary Key from the URL and is supposed to display a record so user can edit the record. This is very basic and I am new with COldFusion, Please some one help me.
Thank you
<CFQUERY NAME="EditDynorun" DATASOURCE="DynoRunEx">
SELECT * FROM RunData WHERE PriKey= #URL.PriKey#
</cfquery>
<html>
<head>
<title>EDIT A LISTING</title>
</head>
<body>
<CFOUTPut>
<FORM action="editdyno2.cfm?PriKey=#URL.PriKey#" method="post">
</cfoutput>
<CFOUTPUT QUERY="EditDynorun">
PriKey: #EditDynorun.PriKey#
<P>
Make: <INPUT NAME="Make" VALUE="#EditDynorun.Make#">
<P>
Model: <INPUT NAME="Model" VALUE="#EditDynorun.Model#">
<INPUT type="hidden" NAME="Model_required" VALUE="You must enter a Model.">
<P>
FirstYear: <INPUT NAME="FirstYear" VALUE="#EditDynorun.FirstYear#">
<INPUT type="hidden" NAME="FirstYear_required" VALUE="You must enter a Year.">
<P>
Last Year: <INPUT NAME="LastYear" VALUE="#EditDynorun.LastYear#">
<INPUT type="hidden" NAME="LastYear_required" VALUE="You must enter something.">
<P>
GenRunNotes: <INPUT NAME="GenRunNotes" VALUE="#EditDynorun.GenRunNotes#">
<INPUT type="hidden" NAME="GenRunNotes_required" VALUE="You must enter something.">
<P>
Run1Name: <INPUT NAME="Run1Name" VALUE="#EditDynorun.Run1Name#">
<INPUT type="hidden" NAME="Run1Name_required" VALUE="You must enter something.">
<P>
Run1Loc: <INPUT NAME="Run1Loc" VALUE="#EditDynorun.Run1Loc#">
<INPUT type="hidden" NAME="Run1Loc_required" VALUE="You must enter a title.">
<P>
Run1Notes: <INPUT NAME="Run1Notes" VALUE="#EditDynorun.Run1Notes#">
<INPUT type="hidden" NAME="Run1Notes_required" VALUE="You must enter a title.">
<INPUT TYPE="Submit">
</cfoutput>
</body>
</html>
Thank you
<CFQUERY NAME="EditDynorun" DATASOURCE="DynoRunEx">
SELECT * FROM RunData WHERE PriKey= #URL.PriKey#
</cfquery>
<html>
<head>
<title>EDIT A LISTING</title>
</head>
<body>
<CFOUTPut>
<FORM action="editdyno2.cfm?PriKey=#URL.PriKey#" method="post">
</cfoutput>
<CFOUTPUT QUERY="EditDynorun">
PriKey: #EditDynorun.PriKey#
<P>
Make: <INPUT NAME="Make" VALUE="#EditDynorun.Make#">
<P>
Model: <INPUT NAME="Model" VALUE="#EditDynorun.Model#">
<INPUT type="hidden" NAME="Model_required" VALUE="You must enter a Model.">
<P>
FirstYear: <INPUT NAME="FirstYear" VALUE="#EditDynorun.FirstYear#">
<INPUT type="hidden" NAME="FirstYear_required" VALUE="You must enter a Year.">
<P>
Last Year: <INPUT NAME="LastYear" VALUE="#EditDynorun.LastYear#">
<INPUT type="hidden" NAME="LastYear_required" VALUE="You must enter something.">
<P>
GenRunNotes: <INPUT NAME="GenRunNotes" VALUE="#EditDynorun.GenRunNotes#">
<INPUT type="hidden" NAME="GenRunNotes_required" VALUE="You must enter something.">
<P>
Run1Name: <INPUT NAME="Run1Name" VALUE="#EditDynorun.Run1Name#">
<INPUT type="hidden" NAME="Run1Name_required" VALUE="You must enter something.">
<P>
Run1Loc: <INPUT NAME="Run1Loc" VALUE="#EditDynorun.Run1Loc#">
<INPUT type="hidden" NAME="Run1Loc_required" VALUE="You must enter a title.">
<P>
Run1Notes: <INPUT NAME="Run1Notes" VALUE="#EditDynorun.Run1Notes#">
<INPUT type="hidden" NAME="Run1Notes_required" VALUE="You must enter a title.">
<INPUT TYPE="Submit">
</cfoutput>
</body>
</html>