Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0
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.

 forms

{remarks}
{example}{code:csharp|title=C#}

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

          //--- Set SaveDataInFormField
          oDocument.PrintDataInFormFields = true;
        
{code}
{code:vb.net
|title=vb.net
}

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

          '--- Set PrintDataInFormFields
          oDocument.SaveDataInFormField = True
        {code}

{example}
Signature
C#C#
Wiki Markup
{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.{excerpt}
{signature:C#}
 public boolean SaveDataInFormField{ get; set; }
Signature
{signature}{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 >
{signature}
{remarks}The default value for a new [Document|Document] is {{false}}.

MS Word equivalent: Tools menu > Options... > Save tab > Save options section > Save data only for
forms
Example
Code Block
csharpcsharp
titleC#
Code Block
vb.nettitle