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.3 . Guide To CA-Clipper - <b>ordbagname()</b> http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
 ORDBAGNAME()
 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.

     Note:  ORDBAGNAME(0) works as ORDBAGNAME(INDEXORD())

 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


See Also: ORDBAGEXT()

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