SET SCOPEBOTTOM

SET SCOPEBOTTOM

Change the bottom boundary for scoping key values in the controlling order

Syntax

      SET SCOPEBOTTOM TO [<expNewBottom>]

Arguments

<expNewBottom> is the bottom range of key values that will be included in the controlling order’s current scope. <expNewBottom> can be an expression that matches the data type of the key expression in the controlling order or a code block that returns the correct data type.

Description

SET SCOPEBOTTOM, when used with the <expNewBottom> argument, is functionally equivalent to ORDSCOPE(1, <expNewBottom>). SET SCOPEBOTTOM, when used with no argument, is functionally equivalent to ORDSCOPE(1, NIL). Refer to the ORDSCOPE() function for more information.

Examples

      .  The following example illustrates the SET SCOPEBOTTOM command:

         USE Inventor NEW
         INDEX ON PartNo TO Parts
         SET SCOPEBOTTOM TO 1000
         // Only part numbers less than or equal to 1000
         // will be used.

Seeaalso

ORDSCOPE(), SET SCOPE, SET SCOPETOP

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

This site uses Akismet to reduce spam. Learn how your comment data is processed.