<!-- MENU-LOCATION=NONE -->
<!-- Copyright 2002-2006 Adobe Macromedia Software LLC and its licensors. All rights reserved. -->

<!DOCTYPE HTML SYSTEM "-//Macromedia//DWExtension layout-engine 5.0//dialog">
<html xmlns:MMString="http://www.macromedia.com/schemes/data/string/">
<head>
<title><MMString:loadString id="Commands/ServerObject-UpdRecCF/title" /></title>
<script language = "JavaScript">
// note: this global variable needs to be at the top of this file to load properly
// it is not a localizable variable, and localizing it will break the script!!
var EDIT_OP_TYPE = "Update";
</script>

<SCRIPT src="../Shared/Common/Scripts/dwscripts.js"></SCRIPT>
<SCRIPT src="../Shared/Common/Scripts/dwscriptsServer.js"></SCRIPT>
<SCRIPT src="../Shared/Common/Scripts/dwscriptsExtData.js"></SCRIPT>
<SCRIPT SRC="../Shared/Common/Scripts/SQLStatementClass.js"></SCRIPT>
<SCRIPT SRC="../Shared/Common/Scripts/ListControlClass.js"></SCRIPT>
<SCRIPT SRC="../Shared/Common/Scripts/TreeControlClass.js"></SCRIPT>
<SCRIPT SRC="../Shared/Controls/Scripts/RecordsetMenu.js"></SCRIPT>
<SCRIPT SRC="../Shared/Controls/Scripts/CFDataSourceMenu.js"></SCRIPT>
<SCRIPT SRC="../Shared/Controls/Scripts/ConnectionTableMenu.js"></SCRIPT>
<SCRIPT SRC="../Shared/Controls/Scripts/TextField.js"></SCRIPT>
<SCRIPT SRC="../Shared/Controls/Scripts/CheckBox.js"></SCRIPT>
<SCRIPT SRC="../ServerBehaviors/ColdFusion/FieldTypes.js"></SCRIPT>
<SCRIPT SRC="EditOpsCustomObjs.js"></SCRIPT>
<SCRIPT SRC="ServerObject-FormCmnCF.js"></SCRIPT>
<SCRIPT SRC="ServerObject-UpdRecCF.js"></SCRIPT>
<SCRIPT>
function windowDimensions()
{
  if(navigator.platform.charAt(0)=="M")
  {
    return dw.loadString('Commands/ServerObject-UpdRecCF/windowDimensions_1') + "," + dw.loadString('Commands/ServerObject-UpdRecCF/windowDimensions_2');
  }
}
</SCRIPT>
<link href="../fields.css" rel="stylesheet" type="text/css">
<link href="../Styles/ServerObject-UpdRecCF.css" rel="stylesheet" type="text/css" />
</head>

<body onLoad="initializeUI()">
  <form>
    <table border=0 width="482" height="420">
	    <tr><td height="1"></td></tr>
	    <tr valign="baseline">
	      <td align="right" NOWRAP><MMString:loadString id="Commands/ServerObject-UpdRecCF/text/Data" /></TD>
	      <td colspan="2" NOWRAP>
	        <select name="ConnectionName" class="connNameList" onChange="updateUI('ConnectionName','onChange')" wrap="virtual">
	        </select>&nbsp;
	      </td>
	    </tr>
		  <tr><td height="1"></td></tr>
	    <tr valign="baseline">
	      <td align="right" NOWRAP><MMString:loadString id="Commands/ServerObject-UpdRecCF/text/User" /></TD>
	      <td colspan="2" NOWRAP>
	        <input name="UserName" type="text" class="medTField" onBlur="updateUI('UserName','onBlur')">
	      </td>
	    </tr>
		  <tr><td height="1"></td></tr>
	    <tr valign="baseline">
	      <td align="right" NOWRAP><MMString:loadString id="Commands/ServerObject-UpdRecCF/text/Password" /></TD>
	      <td colspan="2" NOWRAP>
	        <input name="Password" type="text" class="medTField"  onBlur="updateUI('Password','onBlur')">
	      </td>
	    </tr>
      <tr>
        <td height=1></td>
      </tr>
      <tr>
        <td align="right" valign="baseline" nowrap><MMString:loadString id="Commands/ServerObject-UpdRecCF/text/Table" /></td>
        <td valign="baseline" colspan="2" nowrap>
            <select name="TableName" class="ServerObjectUpdRecCF_connRSTableList" onChange="updateUI('TableName','onChange')">
            </select>
          </TD>
      </tr>
      <tr>
        <td height=1></td>
      </tr>
      <tr>
        <td align="right" valign="baseline" nowrap><MMString:loadString id="Commands/ServerObject-UpdRecCF/text/Select" /></td>
        <td valign="baseline" colspan="4" nowrap>
          <select name="RecordsetName" class="rsNameList" onChange="updateUI('RecordsetName', 'onChange')">
            <option selected></option>
          </select>
        </td>
      </tr>
      <tr>
        <td height=1></td>
      </tr>
      <tr>
        <td align="right" valign="baseline" nowrap><MMString:loadString id="Commands/ServerObject-UpdRecCF/text/Unique" /></td>
        <td valign="baseline" colspan="4" nowrap>
          <select name="UniqueKeyColumn" class="columnNameList" onChange="updateUI('UniqueKeyColumn')">
            
          <option selected></option>
          </select>
          <input type="checkbox" name="IsNumeric" checked>
          <MMString:loadString id="Commands/ServerObject-UpdRecCF/checkbox/IsNumeric/Numeric" /> </td>
      </tr>
      <tr>
        <td align="right" valign="baseline" nowrap><MMString:loadString id="Commands/ServerObject-UpdRecCF/text/After" /></td>
        <td valign="baseline" colspan="4" nowrap>
          <input name="GoToURL" type="text" class="largeTField" onBlur="updateUI('GoToURL','onBlur')">
          <input type="button" MMString:value="Commands/ServerObject-UpdRecCF/button/value/Browse" onClick="updateUI('GoToURL','onClick')">
        </td>
      </tr>
      <tr>
        <td align="right" valign="baseline" nowrap></td>
        <td valign="baseline" nowrap>
          <input name="includeQuery" type="checkbox" onClick="updateUI('includeQuery')">
          <MMString:loadString id="Commands/ServerObject-UpdRecCF/checkbox/includeQuery/Pass" />
        </td>
      </tr>
      <tr>
        <td align="right" valign="baseline" nowrap colspan="5">
          <hr>
        </td>
      </tr>
      <tr>
        <td align="right" valign="baseline" nowrap><MMString:loadString id="Commands/ServerObject-UpdRecCF/text/Form" /></td>
        <td valign="baseline" colspan="4" nowrap align="left">
          <input type="image" border="0" MMString:alt="Commands/ServerObject-UpdRecCF/image/alt/Add" name="elemAdd" src="../Shared/MM/Images/btnAdd.gif" onClick="updateUI('AddRow','onClick')">
          <input type="image" border="0" MMString:alt="Commands/ServerObject-UpdRecCF/image/alt/Remove" name="elemDel" src="../Shared/MM/Images/btnDel.gif" onClick="updateUI('DeleteRow','onClick')">
          <img src="../Shared/MM/Images/transparent.gif" height="8" width="295">
          <input type="image" name="elemUp" MMString:alt="Commands/ServerObject-UpdRecCF/image/alt/Move" onClick="updateUI('MoveRowUp','onClick')" border="0" src="../Shared/MM/Images/btnUp.gif" >
          <input type="image" name="elemDown" MMString:alt="Commands/ServerObject-UpdRecCF/image/alt/Move_1" onClick="updateUI('MoveRowDown','onClick')" border="0" src="../Shared/MM/Images/btnDown.gif" >
        </td>
      </tr>
      <tr>
        <td align="right" valign="baseline" nowrap></td>
        <td valign="baseline" rowspan="2" colspan="4" nowrap>
          <mm:treecontrol noexpandbuttons name="ColumnNames" class="cls_ServerObjectUpdRecCF_mmtreecontrol_ColumnNames" onChange="updateUI('ColumnNames','onChange')">
            <mm:treecolumn width="80">
            <mm:treecolumn width="90">
            <mm:treecolumn width="90">
            <mm:treecolumn width="80">
          </mm:treecontrol>
        </td>
      </tr>
      <tr><td height=1></td></tr>
      <tr><td height=1></td></tr>
      <tr>
        <td align="right" valign="baseline" nowrap><MMString:loadString id="Commands/ServerObject-UpdRecCF/text/Label" /></td>
        <td valign="baseline" nowrap colspan="4">
          <input name="ElementLabel" type="text" class="medTField" onBlur="updateUI('ElementLabel','onBlur')">
        </td>
      </tr>
      <tr><td height=1></td></tr>
      <tr>
        <td align="right" valign="baseline" nowrap><MMString:loadString id="Commands/ServerObject-UpdRecCF/text/Display" /></td>
        <td valign="baseline" nowrap colspan="4">
          <select name="DisplayAs" class="dataTypeList" onChange="updateUI('DisplayAs','onChange')">
            <option value="textField"><MMString:loadString id="Commands/ServerObject-UpdRecCF/option/textField/Text" /></option>
            <option value="textArea"><MMString:loadString id="Commands/ServerObject-UpdRecCF/option/textArea/Text" /></option>
            <option value="menu"><MMString:loadString id="Commands/ServerObject-UpdRecCF/option/menu/Menu" /></option>
            <option value="checkBox"><MMString:loadString id="Commands/ServerObject-UpdRecCF/option/checkBox/Checkbox" /></option>
            <option value="radioGroup"><MMString:loadString id="Commands/ServerObject-UpdRecCF/option/radioGroup/Radio" /></option>
            <option value="text"><MMString:loadString id="Commands/ServerObject-UpdRecCF/option/text/Text" /></option>
          </select>
          <mmsubmit>
          <MMString:loadString id="Commands/ServerObject-UpdRecCF/text/Submit" />
          <select name="SubmitAs" class="dataTypeList" onChange="updateUI('SubmitAs','onChange')">
            <!-- Format values: value="char to wrap with, alt value if not wrapping, default value if empty" -->
            <option value="',none,''" selected><MMString:loadString id="Commands/ServerObject-UpdRecCF/option/text/Text" /></option>
            <option value="none,none,NULL"    ><MMString:loadString id="Commands/ServerObject-UpdRecCF/checkbox/IsNumeric/Numeric" /></option>
            <option value="',none,NULL"       ><MMString:loadString id="Commands/ServerObject-UpdRecCF/option/',none,NULL/Date" /></option>
            <option value="#,none,NULL"       ><MMString:loadString id="Commands/ServerObject-UpdRecCF/option/#,none,NULL/Date" /></option>
            <option value="none,'Y','N'"      ><MMString:loadString id="Commands/ServerObject-UpdRecCF/option/none,'Y','N'/Checkbox" /></option>
            <option value="none,1,0"          ><MMString:loadString id="Commands/ServerObject-UpdRecCF/option/none,1,0/Checkbox" /></option>
            <option value="none,-1,0"         ><MMString:loadString id="Commands/ServerObject-UpdRecCF/option/none,-1,0/Checkbox" /></option>
            <option value="none,Yes,No"       ><MMString:loadString id="Commands/ServerObject-UpdRecCF/option/none,Yes,No/Checkbox" /></option>
          </select>
          </mmsubmit>
        </td>
      </tr>
      <tr><td height=1></td></tr>
      <mmParams>
      <tr>
        <td nowrap valign="baseline" align="right" height="50">&nbsp;</td>
        <td nowrap align="left">&nbsp;</td>
      </tr>
      </mmParams>
    </table>
  </form>
</body>
</html>

