Adams Basic Package
>
Adams View
>
View Function Builder
>
Design-Time Functions
>
Functions: D - E
> DB_OBJ_EXISTS
DB_OBJ_EXISTS
Returns a logical value indicating whether the specified object exists as an immediate child of the parent object.
Format
DB_OBJ_EXISTS (Parent, Name)
Arguments
Parent
The object defining the search domain.
Name
A character string naming the object for which you are searching.
Examples
The following illustrates the use of DB_OBJ_EXISTS:
Function
DB_OBJ_EXISTS(.model_1.par1, "mar1")
Result
Returns 0 if mar1 does not exist, 1 if it does.
Learn more about database functions
.
This site works best with JavaScript enabled