Hi All,
I want to transfer the Data from a Subview to Main Form. I tried with 'Transfer Data' and fails.
Please note that, this subview is not a member of Main Form.
Hi All,
I want to transfer the Data from a Subview to Main Form. I tried with 'Transfer Data' and fails.
Please note that, this subview is not a member of Main Form.
Best answer by RaymondJVR
Good Day Russel
To be able to transfer date from a subview or subform back to the main form you would need to access the subview from from the main form via your rule and pull back the data instead of trying to pass on the data from the subview to main view.
To do this I would recomend that you have at least two rules present on your Main Form:
1st Rule) The rule that would be used to open the subview - this can be on button click or on an event firing, etc.
2nd Rule) You would need to used the rule called "When a subview executes a method" or "When a control on a subview raises and event" or "When teh subview is closing" to pull back the data from your subview and place it into your main form. The rule to be used between the three above mentioned will depend on what your project requirements are.
However in the small scenario I have taken the screenhtos from I had a button on the Main Form which when pressed will open the subview, I also had an addiotnal rule on the Main Form that when the subview (which is a list view) executes the list item clisk it would then transfer the data from the subview to the Main form.
Kind Regards
Raymond
Enter your E-mail address. We'll send you an e-mail with instructions to reset your password.