Retro video games delivered to your door every month!
Click above to get retro games delivered to your door ever month!
X-Hacker.org- db_VISTA III - d_disdel http://www.X-Hacker.org [<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
   D_DISDEL

SUMMARY
   d_disdel([dbn])
   int dbn;

ARGUMENTS
   dbn         (optional) The number of the database containing the record

DESCRIPTION
    Function d_disdel disconnects all members from the sets, owned by the
    current record and disconnects the current record from all sets of which
    it is a member. The current record is then deleted. Currency is preserved
    except where the current record is a current owner of member.

CURRENCY CHANGES

    None.

RETURN CODES
   -7    S_NOCR        The current record is null.

  -24    S_NOTLOCKED   Record or set type associated with current record
                       is not locked.

  -27    S_TRNOTACT    Transaction not active. In shared mode, changes can
                       only be made from within a transaction

EXAMPLE
   ..
   /* disconnect and delete abstract */
   d_setom(ABSTRACT,HAS_PUBISHED);
   while (d_findfm(ABSTRACT)==S_OKAY)
         d_disdel();

See Also: d_delete d_discon

Online resources provided by: http://www.X-Hacker.org --- NG 2 HTML conversion by Dave Pearson