PublicPrivate property: Query class

Description

This property specifies whether the query is public or private.

You can use either a constant or numeric value for this property. The values are:

Numeric Value Constant Value Description

0

%Query_Private

The query is a private query.

1

%Query_Public

The query is a public query.

This property is read/write.

Example

If &QryObj.PublicPrivate = %Query_Public Then 
   /* code when working with Public Query */ 
Else 
   /* code when working with Private Query */ 
End-if;