Syntax
DbRSelect( nRelation ) --> nWorkAreaArguments
nRelation
One-based relation number. Zero selects relation 1.
Return value
The child work-area number, or 0 when no such relation exists.
Description
DbRSelect() returns the work-area number targeted by a relation from the current work area.
Notes
It does not change the selected work area.
Example
PROCEDURE Main()
QOut( "Related work area: " + LTrim( Str( DbRSelect( 1 ) ) ) )
RETURNOutput