<!--- 
 Filename: RegistryGetAll.cfm
 Edited By: Nate Weiss (NMW)
 Purpose:  Demonstrates use of the <cfregistry> tag
--->

<html>
<head>
  <title>cfregistry GetAll Example</title>
</head>
<body>
<!--- Retreive information from the Windows Registry --->
<cfregistry 
 action="GETALL"
 branch="HKEY_LOCAL_MACHINE\SOFTWARE\ODBC\ODBC.INI\ODBC Data Sources"
 name="ODBC_Information"
 type="Any"
 sort="entry ASC, value DESC">

<!--- Display message about information returned by <CFREGISTRY> ---> 
The GetAll action returns a CF query object 
containing the following columns:<br>
<cfoutput>#ODBC_Information.columnlist#</cfoutput>

<p>

The results of reading the ODBC\ODBC.INI\ODBC Data Sources 
entry are shown below:

<table border>
 <tr>
  <th valign="left">Entry</th>
  <th valign="left">Type</th>
  <th valign="left">Value</th>
 </tr>
 <!--- For each value in the specified branch of the Registry... --->
 <cfoutput query="ODBC_Information">
  <tr>
   <td valign="left">#entry#</td>
   <td valign="left">#type#</td>
   <td valign="left">#value#</td>
  </tr>
 </cfoutput>
</table>
</body>
</html>
