[<<Previous Entry]
[^^Up^^]
[Next Entry>>]
[Menu]
[About The Guide]
DBRSELECT()
DBRSELECT() determines the target work area of a specified relation
in the current work area.
Syntax
DBRSELECT(<expN>)
Argument
<expN> is the ordinal position in the list of relations defined.
Returns
An integer numeric value.
DBRSELECT() returns the work area number of the relation pointed to by
<expN>. If there is no RELATION SET for <expN>, DBRSELECT() returns
zero.
Usage
DBRSELECT() is used in combination with DBRELATION() to query the work
area and linking expression of an existing relation. Using these
functions in addition to DBFILTER(), you can create a user-defined View
system analagous to that of dBASE III PLUS and the Clipper utility,
DBU.EXE. Essentially, you utilize these functions to create the View
definition from the environment.
Since the work area number is environment specific information, you
may want the alias name if your application is independent of a
specific work area. In this case, use the following expression to
obtain the alias of the relation:
ALIAS(DBRSELECT(<expN>))
See Also:
DBFILTER
DBRELATION
SET RELATION
This page created by ng2html v1.05, the Norton guide to HTML conversion utility.
Written by Dave Pearson