xHarbour Reference Documentation > Function Reference xHarbour Developers Network  

DbClearRelation()

Clears all active relations in a work area.

Syntax

DbClearRelation() --> NIL

Return

The return value is always NIL.

Description

DbClearRelation() clears all active relations in the current work area. Database navigation is then no longer synchronized with child work areas.

The function has the same effect as specifying SET RELATION TO with no further argument. Refer to the SET RELATION command for more information.

Use an aliased expression to clear relations in a different work area.

Info

See also:DbRelation(), DbSetRelation(), OrdSetRelation(), SET RELATION
Category: Database functions
Source:rdd\dbcmd.c
LIB:xhb.lib
DLL:xhbdll.dll


Copyright © 2006-2007 xHarbour.com Inc. All rights reserved.
http://www.xHarbour.com
Created by docmaker.exe