save subform data in database, and regenerate subform view when displaying appointment