Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

CFHTTP woes.....

Status
Not open for further replies.

gambhir

Programmer
Oct 17, 2000
15
US
On my submit page I have the following:
<CFQUERY DATASOURCE =&quot;mhdinternal&quot; Name=&quot;Update_Driver&quot;>
Select driver.driverid, ....etc
FROM driver
WHERE driverid=#driverid# and
</cfquery>
<CFSET driverid=#driverid#>

<cfhttp url=&quot; method=&quot;POST&quot; resolveurl=&quot;false&quot;>
<cfhttpparam type=&quot;FORMFIELD&quot; name=&quot;driverid&quot; value=&quot;#driverid#&quot;>
</cfhttp>


On my action page:
<CFOUTPUT>
Test Results:
#driverid#
</cfoutput>

When I submit my submit page I get the following error:

Error Diagnostic Information

An error occurred while evaluating the expression:

#driverid#

Error near line 6, column 4.
--------------------------------------------------------------------------------

Error resolving parameter DRIVERID





Obviously I am missing something.

I ran a CF output on the submit page to make sure that the #driverid# is a valid value and displays correctly. Something in going awry when i try to parse this value to my action page. I am not seeing what it is.

Any other suggestions would be helpful.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top