Ask a Question related to Coldfusion - Advanced Techniques, Design and Development.
-
Anthony Brown #1
Binding CFGrid and Query MX7
Hello-
I was playing around with flash forms in MX7. I want to bind a quesry to a cfgrid. I looked at the demo on the MM site, and am trying to do the basic scripting just to see how it works.
I keep getting an error saying that the value of query="client" is invalid.
Sample code:
<cfquery name="client" datasource="test">
SELECT Contact_Name, Contact_EMail, WebsiteURL FROM billing_clienttb ORDER BY Company_Name ASC
</cfquery>
<cfform format="flash" width="500" skin="haloBlue">
<cfgrid name="grid" query="client" selectmode="single">
<cfgridcolumn name="Contact_Name">
<cfgridcolumn name="Contact_Email">
<cfgridcolumn name="WebsiteURL">
</cfgrid>
</cfform>
What am I doing wrong?
Thxs,
Anthony
Anthony Brown Guest
-
CFGRID, Using Query - How do I hide columns?
This might make no sense or I might know the answer, but not know I know it ... How can I hide columns in a query generated cfgrid? You say,... -
Multiple Joins in one Query for CFGRID
Hello, I am tring to combine all 4 queries into 1 so that it will work in a CFGRID and it's a little beyond my SQL experience. I have all this... -
binding CFGRID data to a CFSELECT
I have a flash CFGRID that lists my clients, when i select a client their data populates the form below the grid. When I select the client, i have a... -
binding from cfgrid in a flash form to an html link
I need to pass the Id from the flash form cfgrid to a url variable in a link. Is this possible with the new flash forms? <a... -
CFGRID QUERY USING A WHERE CLAUSE
All of the cfgrid query examples I see do not include a WHERE clause. I would like to know if it is possible to include one and how do you pass in... -
Anthony Brown #2
Re: Binding CFGrid and Query MX7
Figured it out.
Apparently I can't use client as a RS name. Changed it to clientrs and it works now.
Darn reserved words...lol
"Anthony Brown" <anthony@kermy.com> wrote in message news:d2ccfu$su6$1@forums.macromedia.com...
Hello-
I was playing around with flash forms in MX7. I want to bind a quesry to a cfgrid. I looked at the demo on the MM site, and am trying to do the basic scripting just to see how it works.
I keep getting an error saying that the value of query="client" is invalid.
Sample code:
<cfquery name="client" datasource="test">
SELECT Contact_Name, Contact_EMail, WebsiteURL FROM billing_clienttb ORDER BY Company_Name ASC
</cfquery>
<cfform format="flash" width="500" skin="haloBlue">
<cfgrid name="grid" query="client" selectmode="single">
<cfgridcolumn name="Contact_Name">
<cfgridcolumn name="Contact_Email">
<cfgridcolumn name="WebsiteURL">
</cfgrid>
</cfform>
What am I doing wrong?
Thxs,
Anthony
Anthony Brown Guest



Reply With Quote

