ValueSource (Property)

Applies To:

Limit object

Description:

Returns an enumerated value that specifies where limit values originated.

Action:

Read-only

Constants:

The BqLimitValueSource constant consists of the bqLimitSourceDatabase and bqLimitSourceFile values.

Example:

This example shows how to use the ValueSource (Property) to determine the location of the limits values.

ActiveDocument.Sections["Query"].Limits[1].LoadFromFile("d:\\LimitData.txt")
if (ActiveDocument.Sections["Query"].Limits[1].ValueSource != bqLimitSourceFile)
     Alert("An error has occurred,Error!")