Harbour Reference Guide

 

ORDBAGNAME()

Returns the Order Bag Name.

Syntax

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

Arguments

<nOrder> A numeric value representing the Order bag number.

<cOrderName> The character name of the Order Bag.

Returns

ORDBAGNAME() returns the Order bag name

Description

This function returns the name of the order bag for the specified work area. If <nOrder> is specidied,it will represent the position in the order list of the target order.If <cOrderName> is specified, it will represent the name of the target order.In essence,it will tell the name of the database (if That Rdd is in use) for a given index name or index order number.If <cOrderName> is not specified or <nOrder> is 0, the Current active order will be used.
Examples
      USE Tests VIA "DBFCDX" NEW
      Set index to TESTs
      ORDBAGNAME( "TeName" )        // Returns: Customer
      ORDBAGNAME( "TeLast" )        // Returns: Customer
      ORDBAGNAME( "teZip" )         // Returns: Customer
      Set Order to Tag TeName
      ? OrderBagName() //Return Custumer
Tests
      See Examples
Status

Started

Compliance

This function is Ca-Clipper compliant

Platforms

All

Files

Library is rdd

See Also

 




[Source Forge]

Other Docs Categories

Advantage Database RDD
Array
Binary conversion
Classes
Code Block
Console input
Conversion
Conversion Tools
DOS
Data input and output
Database
Database Tools
Date
Dos Tools
Environment
Error recovery
Events
File management
GT
Harbour Tools
Internal
Low Level
Math
Misc
Miscellaneous
Nation
Object manipulation
Operating System Specific
Parameter Checks
String Tools
Strings
TBrowse Method
TBrowse class
Terminal
Time
Utility
Variable Management

 

Last updated on 2001/07/30