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

Problem while testing in Cold Fusion 5.0

Status
Not open for further replies.

request

Programmer
Dec 5, 2001
76
US
Currently, we have Cold Fusion 4.5 but we want to migrate to Cold Fusion 5.0.

When I am testing the code that I had in Cold Fusion 4.5, in Cold Fusion 5.0, it gives me an error for CFGRID.

On the form page, I have as follows:

<cfgrid name=&quot;DisplayInfo&quot; height=&quot;75%&quot; width=&quot;50%&quot; query=&quot;GetInfo&quot; insert=&quot;No&quot; delete=&quot;No&quot; sort=&quot;Yes&quot; bold=&quot;No&quot; italic=&quot;No&quot; appendkey=&quot;No&quot; highlighthref=&quot;No&quot; griddataalign=&quot;LEFT&quot; gridlines=&quot;Yes&quot; rowheaders=&quot;No&quot; rowheaderalign=&quot;LEFT&quot; rowheaderitalic=&quot;No&quot; rowheaderbold=&quot;No&quot; colheaders=&quot;Yes&quot; colheaderalign=&quot;LEFT&quot; colheaderitalic=&quot;No&quot; colheaderbold=&quot;Yes&quot; bgcolor=&quot;White&quot; selectmode=&quot;ROW&quot; picturebar=&quot;No&quot;>
<cfgridcolumn name=&quot;ref_number&quot;
header=&quot;Reference Number&quot;
headeralign=&quot;LEFT&quot;
dataalign=&quot;LEFT&quot;
bold=&quot;No&quot;
italic=&quot;No&quot;
select=&quot;Yes&quot;
display=&quot;Yes&quot;
headerbold=&quot;No&quot;
headeritalic=&quot;No&quot;><cfgridcolumn name=&quot;Amount&quot;
header=&quot;Amount&quot;
headeralign=&quot;LEFT&quot;
dataalign=&quot;LEFT&quot;
bold=&quot;No&quot;
italic=&quot;No&quot;
select=&quot;Yes&quot;
display=&quot;Yes&quot;
headerbold=&quot;No&quot;
headeritalic=&quot;No&quot;>
</cfgrid>

On the action page, I have as follows:
<cftransaction>
<CFQUERY DATASOURCE=&quot;#DBsource#&quot;>
exec upd_emp '#form.DisplayInfo.ref_number#'
</CFQUERY>
</cftransaction>

It is not recognizing #form.DisplayInfo.ref_number# in Cold Fusion 5.0. However, it is working fine in Cold Fusion 4.5.

Please help. Thanks a lot.
 
I am still not able to refe the CFGRID variable defined on the form page, correctly on the action page in Cold Fusion 5.0. However, the same thing works fine in Cold Fusion 4.5.

I am refering the CFGRID variable as

#form.GRIDNAME.CFGRIDCOLUMNNAME#

on the action page.

Please help. Any suggestion will be greatly appreciated.
Thanks.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top