SourceFlagsQuery

Note: This page includes content based on the F1 documentation for Centura development. It may be partially converted to support APF development, but should be regarded to be of uncertain actuality. It is provided as is. Eventually, it should be replaced by documentation available from within Visual Studio.

SalBoolean SourceFlagsQuery(SalNumber nFlags)	

The SourceFlagsQuery method tells if one or more data source flags are set.
 

Parameters

Name Description
SalNumber nFlags Flags to query. Specify any Const.SOURCE_* constant. You can combine several flags with the or (|) operator.

Returns

The return value is true if all of the flags in nFlags are set, false otherwise.

Example

Set bAnyUpdatesAllowed = SourceFlagsQuery( SOURCE_OperationNew | SOURCE_OperationModify )
Set bAnyUpdatesAllowed = SourceFlagsQuery( SOURCE_OperationNew | SOURCE_OperationModify )

C# coding sample

// If LOV properties have been set by user call original method.
if (SourceFlagsQuery(Ifs.Fnd.ApplicationForms.Const.SOURCE_UseProfileUserWhere)) { .....
  ......