Making Base Enum Element invisible in the form using Microsoft dynamics Axapta

Hi,

Can Anybody tell me how to make the base enum element invisible in the particular form.

Hi SriLakshmi,

Desigh->EnumControl->autoDeclaration: YES.

Form->Run()

EnumField.delete(enum2str(BaseEnum::value1));

Ex:

Form->Run()

Stud_Dept_DState.delete(enum2str(StState::Che));

try this this is working.

Best wishes.

Hi Sunil,

Thank you so much for your help.It is working Perfect.