Thank you very much MWinter Sir, i have been searching the solution to this query from more than 2 weeks. i have 10 such enum fields. and now my project is working fine