This function creates a new disease.
object.CreateDisease()
Part | Attribute | Type | Description |
---|---|---|---|
object |
Required | The object always implements the
ISProfile interface |
Add a new disease and display its code and ID.
Dim aDisease
Set aDisease = Profile.CreateDisease
aDisease.Code = "NEWDISEASE2"
aDisease.Description = "Super new disease"
aDisease.Save
set aDisease = Profile.LoadDisease("NEWDISEASE2")
Profile.MsgBox("ID of the disease with the code " & aDisease.Code & " is " &_
aDisease.ID)
In Profile Client v8 on User Interface Disease can be found in
.