Returns True if the appointment is being created and has not been saved in the database yet.
object.IsNew
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISAppointment interface |
bool
Display "The appointment is not saved, so True" if the appointment is being created and has not been saved yet. Otherwise, display "The appointment is already saved, so False".
Dim aAppointment
Dim aIsNew
Dim aPatient
Set aPatient = Profile.SelectPatient
set aAppointment = Profile.CreateAppointment
aIsNew = aAppointment.IsNew
Profile.MsgBox ("The appointment is not saved, so " & aIsNew)
aAppointment.Save
aIsNew = aAppointment.IsNew
Profile.MsgBox ("The appointment is already saved, so " & aIsNew)
In Profile Client v8 on User Interface cannot be found.