Description
Returns the database identifier of the article.
For new (i.e. not yet saved) articles it returns a negative value. Read-only.
Available in Ted and Fred.
Syntax
iValue = object.Id |
object
Required. Object name. Returned by Ted.GetActiveArticle.
Example
This script displays the id of the article.
If Ted.HasActiveArticle Then
Dim objArticle = Ted.GetActiveArticle
Dim id As Integer = objArticle.Id
If id < 0 Then
MsgBox("This article has no ID yet, save it first")
Else
MsgBox("Id of this article is " & id)
End If
End If
Context
Article object