- see footer for list info -<
The problem is nothing happens ... Just a blank screen .....
I managed to fix it though.... Its just that the 'S' in SelectedIndex needs
to be selectedIndex ..... Aghhhhh! - Took me ages to see that.
Regards - Paul
From: "Adrian Lynch" <[EMAIL PROTECTED]>
Reply-To: Coldfusion Development <[email protected]>
To: "Coldfusion Development" <[email protected]>
Subject: RE: [CF-Dev] binding syntax
Date: Wed, 4 Jan 2006 16:17:55 -0000
>- see footer for list info -<
What's not happening or what error are you getting?
Ade
-----Original Message-----
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED] Behalf Of Paul Swingewood
Sent: 04 January 2006 15:36
To: [email protected]
Subject: [CF-Dev] binding syntax
>- see footer for list info -<
CAn anyone see whats wrong with this please .....?
<cfquery name="GetSchools" datasource="SQLSchools">
SELECT dbo.tblSchools.DFESNoFK,
dbo.tblSchools.SchoolName,
dbo.tblSchools.Address1,
dbo.tblSchools.Postcode
FROM dbo.tblSchools
ORDER BY dbo.tblSchools.SchoolName
</CFQUERY>
<cfform format="flash" name="form1" action="formdump.cfm"
skin="haloorange">
<cfgrid name="SchoolGrid"
query="GetSchools"
rowheaders="no"
height="400">
<cfgridcolumn name="DFESNoFK" header="DFES No." width="60">
<cfgridcolumn name="SchoolName" header="School Name"
width="500">
<cfgridcolumn name="Address1" header="Address 1">
<cfgridcolumn name="PostCode" header="Post Code">
</cfgrid>
<cfformgroup type="tabnavigator">
<!--- First Tab --->
<cfformgroup type="Page" label="#ButtonText#" style="fontsize:12;
backgroundcolor:##123456">
<cfinput type="password"
label="School Name"
name="InputSchoolName"
bind="{SchoolGrid.dataProvider[SchoolGrid.SelectedIndex]['SchoolName']}">
I am tring to bind the <cfinput> to the selected item in the <cfgrid>
Regards - Paul
_______________________________________________
For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo
--
CFDeveloper Sponsors:-
>- Hosting provided by www.cfmxhosting.co.uk -<
>- Forum provided by www.fusetalk.com -<
>- DHTML Menus provided by www.APYCOM.com -<
>- Lists hosted by www.Gradwell.com -<
>- CFdeveloper is run by Russ Michaels, feel free to volunteer your help
-<
_______________________________________________
For details on ALL mailing lists and for joining or leaving lists, go to
http://list.cfdeveloper.co.uk/mailman/listinfo
--
CFDeveloper Sponsors:-
- Hosting provided by www.cfmxhosting.co.uk -<
- Forum provided by www.fusetalk.com -<
- DHTML Menus provided by www.APYCOM.com -<
- Lists hosted by www.Gradwell.com -<
- CFdeveloper is run by Russ Michaels, feel free to volunteer your help -<