Changed function EGenerateAllForms()