Advertisement
Guest User

Untitled

a guest
Jul 20th, 2017
56
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. <cfquery datasource="healthysteps" name="qStudents">
  2. select      studentID as [Student ID],
  3.         dateCreated as [Date Signed Up],
  4.         firstName as [First Name],
  5.         lastName as [Last Name],
  6.         address1 as [Address],
  7.         address2 as [Apt/Suite],
  8.         city as [City],
  9.         state as [State],
  10.         postal as [Postal],
  11.         country as [Country],
  12.         email as [Email],
  13.         phoneHome as [Home Phone],
  14.         phoneMobile as [Alt Phone],
  15.         acceptedTerms as [Terms Accepted]
  16. from        tr_students
  17. </cfquery>
  18.  
  19. <cfform name="fStudents" format="Flash" timeout="100" height="500">
  20.         <cfformgroup type="horizontal">
  21.                 <cfformgroup type="horizontal">
  22.                 <!--- I want to bind to [student id] --->
  23.                 <cfinput type="hidden" name="studentID" bind="{gStudents.selectedItem.studentid}" />
  24.                 <cfinput type="submit" name="btn_edit" value="Get Details" />
  25.                 </cfformgroup>
  26.         </cfformgroup>
  27.        
  28.         <cfformgroup type="horizontal">
  29.                 <cfgrid format="flash"
  30.                                 height="500"
  31.                                 autowidth="true"
  32.                                 name="gStudents"
  33.                                 query="qStudents"
  34.                                 href="studentdetail.cfm"
  35.                                 hrefkey="studentID">
  36.                                
  37. </cfgrid>
  38. </cfformgroup>
  39. </cfform>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement