Update of /cvsroot/mydatabasepilot/MyDatabasePilot/dbProcessInit
In directory sc8-pr-cvs1:/tmp/cvs-serv20183/dbProcessInit
Modified Files:
AddField.cfm
Log Message:
Added a few comments
Index: AddField.cfm
===================================================================
RCS file: /cvsroot/mydatabasepilot/MyDatabasePilot/dbProcessInit/AddField.cfm,v
retrieving revision 1.6
retrieving revision 1.7
diff -C2 -d -r1.6 -r1.7
*** AddField.cfm 12 Jun 2003 04:34:42 -0000 1.6
--- AddField.cfm 12 Jun 2003 04:39:50 -0000 1.7
***************
*** 31,37 ****
--- 31,40 ----
<!--- Create a Structure for each new field --->
<cfset alterSpec[i]=StructNew() />
+ <!--- Create Key "format" --->
<cfset alterSpec[i].format="ADD COLUMN" />
+ <!--- Create Key "colName" --->
<cfparam name="FORM.fieldName#i#" default="" />
<cfset alterSpec[i].colName="#Evaluate("FORM.fieldName#i#")#" />
+ <!--- Create Key "colType" --->
<cfparam name="FORM.fieldType#i#" default="" />
<cfset alterSpec[i].colType="#Evaluate("FORM.fieldType#i#")#" />
|