Author Topic: Close Active Form  (Read 3042 times)

orgtec

  • Newbie
  • *
  • Posts: 15
    • View Profile
Close Active Form
« on: April 05, 2014, 11:46:40 AM »
How can I close the existing active form so that I go back to Parent Form?

If I close Parent before entering Child Form, I loose the existing filter that was set.

If I dont't close Parent, open Child, do the work and then open Parent form , it opens a new Parentl ike , not the still open Parent.

help

CellicaTeam

  • Administrator
  • Hero Member
  • *****
  • Posts: 693
    • View Profile
Re: Close Active Form
« Reply #1 on: April 08, 2014, 02:45:50 AM »

Please use following steps,

- On Parent Form, place a "Button" control with "Action" property set to "Go To Form" .
http://cellica.kayako.com/Knowledgebase/Article/View/55/0/how-to-implement-multilevel-relationship-between-tables-in-cellica-database-using-go-to-form-feature

- Configure the button to open "Child form" and set the "Close Form" property to false ( uncheck the checkmark). Please find the attached image for more information to locate the "close form" option on go to form configuration dialog.

- Synchronize the form to device.
- Now on device, Open the Parent Form, tap on Go To Form button.
- Pressing the back button on Child form navigates back to Parent Form.
In this case Parent Form would be your original form with previous data. If you want to close the parent form after opening the child form set the "Close Form" option to true. In this case pressing back button on child form will not open the parent form.