docs: public void writeInitField()
      {
          Record recLogicFile = this.getRecord(LogicFile.LOGIC_FILE_FILE);
          try   {
              String strClassName;
              Record recClassInfo = this.getMainRecord();
              FieldData recFieldData = (FieldData)this.getRecord(FieldData.FIELD_DATA_FILE);
              strClassName = recClassInfo.getField(ClassInfo.CLASS_NAME).getString();
              if (this.readThisMethod("initField"))
                  this.writeThisMethod(CodeType.THICK);
              else
              {
                  String strInitField = this.getInitField(recFieldData, false, false);
                  if (strInitField.length() != 0)
                  {
                      recLogicFile.getField(LogicFile.METHOD_NAME).setString("initField");
                      recLogicFile.setKeyArea(LogicFile.METHOD_CLASS_NAME_KEY);
                      if (!recLogicFile.seek("="))
                      {
                          this.writeMethodInterface(null, "initField", "int", "boolean displayOption", "", "Initialize the field.", null);
                          String setOp = ".setString";
                          if ((strInitField.equalsIgnoreCase("todaysDate()")) || (strInitField.equalsIgnoreCase("currentTime()")) || (strInitField.equalsIgnoreCase("getUserID()")))
                              setOp = ".setValue";
                          if (strInitField.length() > 0)
                              if ((strInitField.charAt(0) == 'k') ||
                                  (Character.isDigit(strInitField.charAt(0))) ||
                                  (strInitField.indexOf(".k") != -1))
                              setOp = ".setValue";
                          if ((strInitField.equals("true")) || (strInitField.equals("false")))
                              setOp = ".setState";
                          if ((strClassName.equalsIgnoreCase("IntegerField"))   //**Change this to look through the base classes for NumberField
                              || (strClassName.equalsIgnoreCase("ShortField"))
                              || (strClassName.equalsIgnoreCase("FloatField"))
                              || (strClassName.equalsIgnoreCase("RealField"))
                              || (strClassName.equalsIgnoreCase("CurrencysField"))
                              || (strClassName.equalsIgnoreCase("DoubleField")))
                                  setOp = ".setValue";
                          if (strInitField.equals("all"))
                          {
                              strInitField = "\"all\""; // HACK
                              setOp = ".setString";
                          }
                          if ((strInitField.indexOf('_') != -1) && (strInitField.indexOf('.') == -1))
                          {
                              strInitField = "\"\"/**" + strInitField + "*/";   // HACK
                              setOp = ".setString";
                          }
                          if (strInitField != strClassName)
                              m_StreamOut.writeit("\treturn this" + setOp + "(" + strInitField + ", displayOption, DBConstants.INIT_MOVE);\n");
                          m_StreamOut.writeit("}\n");
                      }
                  }
              }
          } catch (DBException ex)    {
              ex.printStackTrace();
          } finally {
              recLogicFile.setKeyArea(LogicFile.SEQUENCE_KEY);   // set this back
          }
      }