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 Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Cold Fusion error 1

Status
Not open for further replies.

NetworkGuy101

IS-IT--Management
Aug 13, 2002
482
0
0
US
Hello Im new to cold fusion. I was building a query with DWMX and Cold fusion and got this error:
The CFML compiler was processing:

An expression that began on line 73, column 65.
Your expression might be missing an ending "#" (it might look like #expr ).
The body of a cfoutput tag beginning on line 73, column 56.


The Error Occurred in C:\CFusionMX\ Site\TMPs89fik3ne6.cfm: line 73

71 : <tr valign=&quot;baseline&quot;>
72 : <td nowrap align=&quot;right&quot;>First Name:</td>
73 : <td><input type=&quot;text&quot; name=&quot;First_Name&quot; value=&quot;<cfoutput>#Recordset1.First Name#</cfoutput>&quot; size=&quot;32&quot;></td>
74 : </tr>
75 : <tr valign=&quot;baseline&quot;>


Can anyone help?
 
...value=&quot;<cfoutput>#Recordset1.First Name#</cfoutput>

It looks like Recordset.First Name contains a space.
Spaces are not alowed in variables when outputting them in Coldfusion.

make it Recordset1.First_Name

chau
 
Hey Thanks alot!
Do I need to rename my field in the recordset then or wil it assume the underscore as a spce for the field name?
 
you'd better rename your field in the recordset too!!!

chau
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top