DBsignaturSetTableName

Top  Previous  Next

Putting of a signature table name.

Of every signature table disposes of a table name. With this function a name can be put to an existing table. Should a name be extinguished without which a new name is put, must stand in name ZERO, otherwise the value from name is taken over.

Parametre

root (PROOT) [IN]

Act on the open data bank.

tableNum (int) [IN]

The key tableNum gives the value of the table. If no table could be found because the key value lay beyond the borders, becomes the error message MOSKITO_ERROR_INVALID_PARAM zurückgeliefert. If no storage space could be requested putting on the name, becomes the announcement MOSKTIO_ERROR_NO_SIGNATUR_TABLE_NAME zurückgeliefert.

name (char *) [IN]

Should merely the existing name be extinguished, without new name placed to, must stand in name ZERO. Otherwise, every other name is taken over in the table name.

Result

(T_ERROR) [OUT]

If a name could be substituted or the signature table name be extinguished, becomes ERROR_OK zurückgeliefert. If the key value lies beyond the borders, becomes MOSKITO_ERROR_INVALID_PARAM zurückgeliefert. If no storage space could be requested for the new table name, becomes MOSKITO_ERROR_NO_SIGNATUR_TABLE_NAME zurückgeliefert.

Declaration

#include "database.h"

 

T_ERROR DLLENTRY DBsignaturSetTableName (

PROOT root,

int tableNum,

char * name

);

Constants

MOSKITO_ERROR_INVALID_PARAM

MOSKITO_ERROR_NO_SIGNATUR_TABLE_NAME

Related functions

DBsignaturAddAreakeyEntry

DBsignaturAddDrawingkeyEntry

DBsignaturDeleteAreakeyEntry

DBsignaturDeleteDrawingkeyEntry

DBsignaturDeleteTable

DBsignaturFindDrawingkeyEntry

DBsignaturGetTableName

DBsignaturReturnAreakeyEntry

DBsignaturReturnDrawingkeyEntry