ISProfileForm.NeedToSave

Description

This property is True if the form needs to be saved.

Syntax

object.NeedToSave

Part Attribute Type Description
object Required
The object always implements the ISProfileForm interface

Return Value

bool

Example

Display NeedToSave for the form.

Dim aForm
Dim aMessage

Set aForm = Profile.Form
aMessage = "Form Info: " & vbNewLine & vbNewLine &_
  "- Caption: " & aForm.Caption & vbNewLine &_
  "- ID: " & aForm.ID & vbNewLine &_
  "- Name: " & aForm.Name_ & vbNewLine &_
  "- TypeName: " & aForm.TypeName & vbNewLine &_   
  "- Need To Save: " & aForm.NeedToSave
         
Profile.MsgBox(aMessage)  
Note: This macro should be executed in any event handler of the form control.

In Profile Client v8 on User Interface Need To Save can be found in Maintain > Templates > Health Record Collection Templates > Open the selected form template > Open form editor > Object Inspector > Select the form > Properties > NeedToSave.

Version information

Added in v7.8.0