>- see footer for list info -<
I have a grid which fetches school details and is then 'bound' on a tabbed
form ....
<!--- Select School Grid--->
<cfformgroup type="panel" height="260"
label="Schools" style="indicatorGap:0; verticalGap:3; marginBottom:5">
<cfgrid name="SchoolGrid"
query="GetSchools"
rowheaders="no"
height="200">
<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>
<!--- End Select School Grid --->
<cfformgroup type="panel" height="280" label="Add / Edit School Details"
style="indicatorGap:0; margin-top:20; marginBottom:5">
<!--- Tab Navigator --->
<cfformgroup type="tabnavigator">
<!--- First Tab (Address Details)
--->
<cfformgroup type="Page"
label="Address" style="fontsize:12; backgroundcolor:##123456">
<cfinput type="Text"
label="School
Name"
name="InputSchoolName"
size="50"
maxlength="100"
bind="{SchoolGrid.dataProvider[SchoolGrid.selectedIndex]['SchoolName']}">
<cfinput type="text"
label="Address"
name="InputAddress1"
size="50"
maxlength="100"
bind="{SchoolGrid.dataProvider[SchoolGrid.selectedIndex]['Address1']}">
</cfformgroup>
<!--- End first tab --->
<!--- Second tab (Contact
Details)--->
<cfformgroup type="Page"
label="Contacts">
<cfinput type="text"
label="Head
Teacher"
name="InputHeadTeacher"
size="50"
maxlength="100"
bind="{SchoolGrid.dataProvider[SchoolGrid.selectedIndex]['Head']}">
<cfinput type="text"
label="Email"
name="InputEmail"
size="50"
maxlength="100"
bind="{SchoolGrid.dataProvider[SchoolGrid.selectedIndex]['EMailAddress']}">
<cfinput type="text"
label="Telephone"
name="InputTelephone"
size="50"
maxlength="100"
bind="{SchoolGrid.dataProvider[SchoolGrid.selectedIndex]['TelNumber']}">
<cfinput type="text"
label="Fax"
name="InputFax"
size="50"
maxlength="100"
bind="{SchoolGrid.dataProvider[SchoolGrid.selectedIndex]['FaxNumber']}">
</cfformgroup>
<!--- End second tab --->
<!--- Third Tab (Location
Details)--->
<cfformgroup type="Page"
label="Location">
<cfinput type="text"
label="Area"
name="InputArea"
size="50"
maxlength="100"
bind="{SchoolGrid.dataProvider[SchoolGrid.selectedIndex]['AreaName']}">
<cfinput type="text"
label="Ward"
name="InputWard"
size="50"
maxlength="100"
bind="{SchoolGrid.dataProvider[SchoolGrid.selectedIndex]['wardName']}">
<cfinput type="text"
label="District"
name="InputDistrict"
size="50"
maxlength="100"
bind="{SchoolGrid.dataProvider[SchoolGrid.selectedIndex]['District']}">
</cfformgroup>
<!--- End third tab --->
<!--- Fourth Tab (School
Mergers)--->
<cfformgroup type="Page"
label="Merge Schools">
<cfformitem type="text"
style="fontWeight:bold;" >School Mergers. Use this form to merge two
schools</cfformitem>
<cfinput type="text"
label="First
School Dfes NO."
name="InputFirstDfes"
size="10"
maxlength="10"
style="font-style:italic; font-family:Arial, Helvetica, sans-serif;
font-size:11px">
<cfinput type="text"
label="Second
School Dfes NO."
name="InputSecondDfes"
size="10"
maxlength="10"
style="font-style:italic; font-family:Arial, Helvetica, sans-serif;
font-size:11px">
</cfformgroup>
<!--- End fourth tab --->
</cfformgroup>
<!--- End Tab Navigator --->
</cfformgroup>
<!--- End Add / Edit School Details --->
</cfformgroup>
<!--- End School Grid Vbox --->
</cfformgroup>
<!--- End Hbox --->
</cfform>
Maybe this might be of some use to you ...
Regards - Paul
***********************************************************************
The information contained within this e-mail (and any attachment) sent by
Birmingham City Council is confidential and may be legally privileged. It is
intended only for the named recipient or entity to whom it is addressed. If you
are not the intended recipient please accept our apologies and notify the
sender immediately, or telephone +(44) 121 464 4444 Unauthorised access, use,
disclosure, storage or copying is not permitted and may be unlawful. Any e-mail
including its content may be monitored and used by Birmingham City Council for
reasons of security and for monitoring internal compliance with the office
policy on staff use. E-mail blocking software may also be used. Any views or
opinions presented are solely those of the originator and do not necessarily
represent those of Birmingham City Council. We cannot guarantee that this
message or any attachment is virus free or has not been intercepted and amended.
***********************************************************************
_______________________________________________
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 -<