Daylight v4.9 Release Date: 1 February 2008 Namedt_database - find the database of an objectGeneric Prototypedt_database(dt_Handle) => dt_HandleC Prototype#include "dt_thor.h"dt_Handle dt_database(dt_Handle object) FORTRAN Prototypeinclude 'dt_f_thor.inc'integer*4 dt_f_database(object) integer*4 object DescriptionFinds the database which is the ultimate 'ancestor' of the object. For example, dt_database(tdt) is equivalent to dt_parent(tdt), but dt_database(fieldtype) is equivalent to dt_parent(dt_parent(fieldtype)).Return ValueReturns a database object. Objects without databases as ancestors have this property defined as NULL_OB.Related Topicsdt_exists(3) dt_parent(3) dt_server(3) |