title: How to find out Lotus Fields DataType?
body: <p>I have following code to access Lotus Form's Fields(COM Interop), But i am unable to get its dataType.(e.g. : Text , Number , DataTime) </p>
  
  <pre><code>        NotesSession notesSessionClass = new NotesSession();
          notesSessionClass.Initialize(pPassword);
          NotesDatabase pNotesDatabase= notesSessionClass.GetDatabase("", pDatabaseName, false);
          object objectForms = pNotesDatabase.Forms;
          Array formArray = (System.Array)objectForms;
  
          for (int cnt = 0; cnt &lt; formArray.Length; cnt++)
          {
              NotesForm localForm = (NotesForm)formArray.GetValue(cnt);
  
              Array fieldsArray = (System.Array)localForm.Fields;
              for (int fieldCnt = 0; fieldCnt &lt; fieldsArray.Length; fieldCnt++)
              {
                  string field = (string)fieldsArray.GetValue(fieldCnt);
                  FIELD_TYPE fieldType = localForm.GetFieldType(field);
                  string strFieldType = fieldType.ToString();
               }
           }
  </code></pre>