FILEFLEX API REFERENCE



NAME
DBSetParentRelation -- Set the topmost relation in a relation tree

SYNTAX
DBSetParentRelation()

CATEGORY
Relations

DESCRIPTION
NEW IN FILEFLEX 3.0

DBSetParentRelation sets up the topmost relation in a relation tree. To use, select the database you want to be the topmost parent with DBSelect. Then call DBSetParentRelation with no arguments. This function will return the ID of the relation and make it the current relation.

Calling DBSetParentRelation will also cause DBSkip, DBTop, and DBBottom to operation in relation order and not index or physical order.


EXAMPLE
put DBSelect(mainDB) into DBResult
put DBSetParentRelation() into DBResult

SEE ALSO
DBSelect, DBCloseRelation, DBSelectRelation, DBAddExactRelation, DBAddManyRelation, DBRelationalQuery

INTERNAL FUNCTION NUMBER
90


Copyright © 1992-1998 by David Gewirtz, under license to Component Enterprises, Inc.
Contact: info@component-net.com

Casa de Bender