I solved it..
> I have a grid grids.cfm
> 
> Grid Code:
 
> 
> <cfform name="GridEmployerform" action=""> 
> <cfgrid name="GridEmployer" width="400" 
               
> selectmode="edit" 
               
> query="Data" height="50"> 
> <cfgridcolumn name="DepartmentID" 
> header="EmployerID" select="false" 
> headeralign="center" 
> headerbold="Yes"> 
> <cfgridcolumn name="FirstName" 
> header="FirstName" 
> headeralign="center" 
> headerbold="Yes"> 
> <cfgridcolumn name="LastName" 
> header="LastName" 
> headeralign="center" 
> headerbold="Yes"> 
> <cfgridcolumn
> name="Phone" 
> header="Phone" 
> headeralign="center" 
> headerbold="Yes" 
> > 
> <cfgridcolumn name="Address" 
> header="Address" 
> headeralign="center" 
> headerbold="Yes"> 
> </cfgrid>
> 
> <cfdiv id="results" bind="url:Test.
> cfm?EmployerID={GridEmployerform:GridEmployer.EmployerID}"> </cfdiv>
> 
> Test.cfm
> <cfquery name="get" datasource="#application.datasource#">   
> SELECT FirstName
> FROM tblWebSiteBrand
> WHERE BrandID = '#url.EmployerID#'
> 
> </cfquery>
> 
> <cfoutput query="get">
>       #FirstName#
> 
> </cfoutput>
> 
> and this works fine and I will get the FirstName but if I use 
> <cfform>
> <cfinput name="name1" value="#FirstName# type="text">
> </cfform>
> is displaying an error ..cfajax import ..use cfdebug .....?
> 
> Any Suggestions on this?? 


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to 
date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: 
http://www.houseoffusion.com/groups/cf-talk/message.cfm/messageid:320385
Subscription: http://www.houseoffusion.com/groups/cf-talk/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4
  • cfGrids Pranathi Reddy
    • Re: cfGrids Pranathi Reddy

Reply via email to