DBgdvDeletePlanInLayer

Top  Previous  Next

A plan with the specified Layer from the open plan management remove.

The plan as a file remains available. Only the reference to this from the data banks of the plan management is removed.

Parametre

root (PROOT) [IN]

The trading of the data bank.

flat (char *) [IN]

The name of the plan which should be removed from the plan management. For this purpose the plan must be stored of course in the plan management.

layer (int) [IN]

The Layer of the plan in which the plan is stored in the plan management.

gdvName (const char *) [IN]

The name of the plan management. If is gdvName = ZERO, the open plan management is used.

Result

(T_ERROR) [OUT]

ERROR_OK in case of the perfect treatment. An error message from error.h, otherwise, e.g., if the plan did not exist in the plan management.

Declaration

#include "database.h"

 

T_ERROR DLLENTRY DBgdvDeletePlanInLayer (

PROOT root,

char *plan,

int layer,

const char *gdvName

);