[Mydatabasepilot-cvs] MyDatabasePilot MyDatabasePilot.cfm,1.10,1.11
Status: Alpha
Brought to you by:
nanoface
From: <nan...@us...> - 2003-05-14 03:23:20
|
Update of /cvsroot/mydatabasepilot/MyDatabasePilot In directory sc8-pr-cvs1:/tmp/cvs-serv14571 Modified Files: MyDatabasePilot.cfm Log Message: Internal Structure Changed: [ 737437 ] Convert Query/tableList.cfm to a CUSTOM TAG Index: MyDatabasePilot.cfm =================================================================== RCS file: /cvsroot/mydatabasepilot/MyDatabasePilot/MyDatabasePilot.cfm,v retrieving revision 1.10 retrieving revision 1.11 diff -C2 -d -r1.10 -r1.11 *** MyDatabasePilot.cfm 9 May 2003 04:08:02 -0000 1.10 --- MyDatabasePilot.cfm 14 May 2003 03:23:16 -0000 1.11 *************** *** 8,11 **** --- 8,14 ---- ********************************************************************************************---> + <!------------------------------------------------------------------------------> + <!--- Process User Request Input Variables and Initialize Internal Variables ---> + <!------------------------------------------------------------------------------> <!---||| Reset session variables if new database was requested |||---> <!--- Check to see if this template was called by FORM_LogintoDB with a new dataSource ---> *************** *** 27,35 **** </cfif> ! <!---||| Run Queries needed for body of Document based on the particular dbProcess Request |||---> <!--- Which dbProcess was requested? ---> <cfswitch expression="#dbProcess#"> ! <cfcase value="ShowTables"><cfinclude template="Query/tableList.cfm"></cfcase> <cfcase value="ShowFields"><cfinclude template="Query/fieldList.cfm"></cfcase> <cfcase value="ShowRecords"> <!--- Find out the number of records in the current table ---> --- 30,51 ---- </cfif> ! <!-----------------------------------------------> ! <!--- Run Requested Database Command or Query ---> ! <!-----------------------------------------------> <!--- Which dbProcess was requested? ---> <cfswitch expression="#dbProcess#"> ! <!---||| If ShowTables ... |||---> ! <cfcase value="ShowTables"> ! <!--- Initiate a Read Only lock to ensure the integrity of session variables ---> ! <cflock timeout=20 throwontimeout="no" type="readonly" scope="session"> ! <!--- Get List of Table Names ---> ! <cfmodule template="Query/tableList.cfm" queryName="tableList" datasource="#session.dataSource#" username="#session.userName#" password="#session.password#"> ! </cflock> ! </cfcase> ! ! <!---||| If ShowFields ... |||---> <cfcase value="ShowFields"><cfinclude template="Query/fieldList.cfm"></cfcase> + + <!---||| If ShowRecords ... |||---> <cfcase value="ShowRecords"> <!--- Find out the number of records in the current table ---> *************** *** 90,93 **** --- 106,112 ---- </cfswitch> + <!-----------------------------------------> + <!--- Output the Result of User Request ---> + <!-----------------------------------------> <!---||| Include Header |||---> <cfinclude template="Include/Header.cfm"> |