DBsignaturDeleteAreakeyEntry

Top  Previous  Next

Extinguishing of one or many signature tables.

With this function can be extinguished from the list of the available signature tables one or many with N tables. The tables are demanded about a number which stands in tabelle. If this table exists, can be steered with the variables idx whether only this table (idx = 0) should be extinguished, or whether many with N tables should be extinguished from the beginning (idx> 0).

Parametre

root (PROOT) [IN]

Act on the open data bank.

tabelle (int) [IN]

The key tabelle gives the signature table which should be extinguished. If the key value lies beyond the borders, the function is finished with a suitable return value.

idx (int) [IN]

About idx can be steered how the signature table should be extinguished. Has idx the value 0, the table which is identified about tabelle is extinguished. Has idx a value >0, many tables from the beginning are removed accordingly. The value in idx may not be negative.

Result

(T_ERROR) [OUT]

By perfect implementation the function delivers the constant ERROR_OK. If the key lies in tabelle beyond the borders, becomes the constant MOSKITO_ERROR_INVALID_PARAM zurückgeliefert. If there no suitable table is with the key tabelle, becomes MOSKITO_ERROR_NO_SIGNATUR_DKA_ENTRY zurückgeliefert.

Declaration

#include "database.h"

 

T_ERROR DLLENTRY DBsignaturDeleteAreakeyEntry (

PROOT root,

int tabelle,

int idx

);

Constants

MOSKITO_ERROR_INVALID_PARAM

MOSKITO_ERROR_NO_SIGNATUR_DKA_ENTRY

Related functions

DBsignaturAddAreakeyEntry

DBsignaturAddDrawingkeyEntry

DBsignaturDeleteDrawingkeyEntry

DBsignaturDeleteTable

DBsignaturFindDrawingkeyEntry

DBsignaturGetTableName

DBsignaturReturnAreakeyEntry

DBsignaturReturnDrawingkeyEntry

DBsignaturSetTableName