Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migration of unmigrated content due to installation of a new plugin
Description

Excerpt

Sets or returns a boolean representing if Word will save only the data entered into a form field (instead of the field itself) for this document. When this is set to true, Word saves the data entered into an online form as a single, tab-delimited record so you can use it in a database. Word saves the file in Text Only file format.

Signature
C#
C#
 public boolean SaveDataInFormField{ get; set; }
Signature
vb.net
vb.net
Public Property SaveDataInFormField() As Boolean
Remarks

The default value for a new Document is false.

MS Word equivalent: Tools menu > Options... > Save tab > Save options section > Save data only for forms

Example
Code Block
csharp
csharp
titleC#

          //--- Return SaveDataInFormField
          bool vSaveData = oDocument.SaveDataInFormField;

          //--- Set SaveDataInFormField
          oDocument.PrintDataInFormFields = true;
        
Code Block
vb.net
vb.net
titlevb.net

          '--- Return SaveDataInFormField
          Dim vSaveData As Boolean = oDocument.SaveDataInFormField

          '--- Set PrintDataInFormFields
          oDocument.SaveDataInFormField = True