Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- CA-Clipper 5.2 . The Guide To CA-Clippe - <b>ordbagname() function</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 ORDBAGNAME() function
 Return the Order Bag name of a specific Order
------------------------------------------------------------------------------
 Syntax

     ORDBAGNAME(<nOrder> | <cOrderName>) --> cOrderBagName

 Arguments

     <nOrder> is an integer that identifies the position in the Order
     List of the target Order whose Order Bag name is sought.

     <cOrderName> is a character string that represents the name of the
     target Order whose Order Bag name is sought.

 Returns

     ORDBAGNAME() returns a character string, the Order Bag name of the
     specific Order.

 Description

     ORDBAGNAME() is an Order management function that lets you access the
     name of the Order Bag in which <cOrderName> resides.  You may identify
     the Order as a character string or with an integer that represents its
     position in the Order List.  In case of duplicate names, ORDBAGNAME()
     only recognizes the first matching name.

 Examples

     .  The following example uses ORDBAGNAME() with the default
        DBFNTX driver:

        USE Customer VIA "DBFNTX" NEW
        SET INDEX TO CuAcct, CuName, CuZip
        ORDBAGNAME( 2 )               // Returns: CuName
        ORDBAGNAME( 1 )               // Returns: CuAcct
        ORDBAGNAME( 3 )               // Returns: CuZip


     .  In this example, Customer.cdx contains three orders named
        CuAcct, CuName, CuZip:

        USE Customer VIA "DBFCDX" NEW
        SET INDEX TO Customer
        ORDBAGNAME( "CuAcct" )        // Returns: Customer
        ORDBAGNAME( "CuName" )        // Returns: Customer
        ORDBAGNAME( "CuZip" )         // Returns: Customer

 Status:  New

 See also:  ORDBAGEXT()

See Also: ORDBAGEXT()

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson