<html>
<head>
<link href="mmres://user_interface_reference.css" rel="stylesheet" type="text/css">
<title>STRUCTINSERT</title>
</head>
<body bgcolor="#FFFFFF" text="#000000">
   <div id="">
   <table cellpadding="0" cellspacing="0" border="0" width="100%" class="main">
      <tr> 
         <td valign="top" class="name">STRUCTINSERT</td>
         <td valign="top" nowrap class="compatibility">&nbsp;</td>
      </tr>
      <tr>
         <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
      </tr>


    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title"></span>
<p>
L[ƒl̃yA\̂ɑ}܂B 
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">߂l</span>
<p>
Ɋꍇ trueBstructure ݂ȂꍇA܂ key ɑ݂ allowoverwrite = &quot;False&quot; ̏ꍇ́AO܂B
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">JeS</span>
<p>
\̊֐
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">֐̃V^bNX</span><pre>StructInsert(structure, key, value [, allowoverwrite ])
</pre>    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">֘A</span>
<p>
\̊֐AwColdFusion MX JKChx̑35͂́uXML  WDDX ̎gpv ́uColdFusion XML IuWFNg̕ύXv
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">qXg</span>
<p>
ColdFusion&#160;MX: ̕ύX : ̊֐́AXML IuWFNgɎgpł܂B
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">p[^</span>
<p>

</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title">gp@</span>
<p>
\̂̃L[̓\[gĂ܂B 
</p>
    </td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="CLEARSEPARATION">&nbsp;</td>
  </tr>
  <tr>
    <td valign="top" colspan="2" class="description"><span class="title"></span><pre>&lt;h1&gt;V]ƈ̒ǉ&lt;/h1&gt;
&lt;!--- p[^̏lݒ ---&gt;
&lt;cfparam name = &quot;FORM.firstname&quot; default = &quot;&quot;&gt;
&lt;cfparam name = &quot;FORM.lastname&quot; default = &quot;&quot;&gt;
&lt;cfparam name = &quot;FORM.email&quot; default = &quot;&quot;&gt;
&lt;cfparam name = &quot;FORM.phone&quot; default = &quot;&quot;&gt;
&lt;cfparam name = &quot;FORM.department&quot; default = &quot;&quot;&gt; 

&lt;cfif FORM.firstname EQ &quot;&quot;&gt;
 &lt;p&gt;tH[̊eڂ͂ĂB
&lt;cfelse&gt;
 &lt;cfoutput&gt;
  &lt;CFScript&gt;
   employee = StructNew();
   StructInsert(employee, &quot;firstname&quot;, FORM.firstname);
   StructInsert(employee, &quot;lastname&quot;, FORM.lastname);
   StructInsert(employee, &quot;email&quot;, FORM.email);
   StructInsert(employee, &quot;phone&quot;, FORM.phone);
   StructInsert(employee, &quot;department&quot;, FORM.department);
 &lt;/CFScript&gt; 

 &lt;p&gt;O : #StructFind(employee, &quot;firstname&quot;)#&lt;/p&gt;
 &lt;p&gt; : #StructFind(employee, &quot;lastname&quot;)#&lt;/p&gt;
 &lt;p&gt;dq[ : #StructFind(employee, &quot;email&quot;)#&lt;/p&gt;
 &lt;p&gt;dbԍ : #StructFind(employee, &quot;phone&quot;)#&lt;/p&gt;
 &lt;p&gt; : #StructFind(employee, &quot;department&quot;)#&lt;/p&gt;
 &lt;/cfoutput&gt;

 &lt;!--- ]ƈǉJX^^OĂяo܂B ---&gt;
 &lt;CF_ADDEMPLOYEE EMPINFO = &quot;#employee#&quot;&gt;
&lt;/cfif&gt;

&lt;Hr&gt;
&lt;form action = &quot;structinsert.cfm&quot;&gt;
   &lt;p&gt;O :&amp;nbsp;
   &lt;input name = &quot;firstname&quot; type = &quot;text&quot; hspace = &quot;30&quot; maxlength = &quot;30&quot;&gt;
   &lt;p&gt; :&amp;nbsp;
   &lt;input name = &quot;lastname&quot; type = &quot;text&quot; hspace = &quot;30&quot; maxlength = &quot;30&quot;&gt;
   &lt;p&gt;dq[ :&amp;nbsp;
   &lt;input name = &quot;email&quot; type = &quot;text&quot; hspace = &quot;30&quot; maxlength = &quot;30&quot;&gt;
   &lt;p&gt;dbԍ :&amp;nbsp;
   &lt;input name = &quot;phone&quot; type = &quot;text&quot; hspace = &quot;20&quot; maxlength = &quot;20&quot;&gt;
   &lt;p&gt; :&amp;nbsp;
   &lt;input name = &quot;department&quot; type = &quot;text&quot; hspace = &quot;30&quot; maxlength = &quot;30&quot;&gt;
   &lt;p&gt;
   &lt;input type = &quot;submit&quot; value = &quot;OK&quot;&gt;
&lt;/form&gt;
</pre>
         </td>
      </tr>
   </table>
   </div>
<div id="STRUCTURE">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">STRUCTURE</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

 </td>
  </tr>
  <tr>
    <td>VL[ƒl̃yA}\̂łB


  </td>
  </tr>
  </table>
</div>
<div id="KEY">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">KEY</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

 </td>
  </tr>
  <tr>
    <td>}lL[łB


  </td>
  </tr>
  </table>
</div>
<div id="VALUE">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">VALUE</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

 </td>
  </tr>
  <tr>
    <td>}lłB


  </td>
  </tr>
  </table>
</div>
<div id="ALLOWOVERWRITE">
<table border="0" cellspacing="0" cellpadding="0" width="100%">
<tr>  
<td valign="top" class="name">ALLOWOVERWRITE</td>
  <td valign="top" nowrap class="compatibility">&nbsp;</td>
  </tr>
  <tr>
  <td colspan="2" class="divider"><img src="dwres:18084" width="100%" height="1"></td>
  </tr>

 </td>
  </tr>
  <tr>
    <td>IvVłB̃L[ւ̏㏑F߂邩ǂw肵܂BftHgl 
false łB


  </td>
  </tr>
  </table>
</div>

  </body>
</html>
