Sorry if this quesion has been already posted. Cannot find a solution.
Scenario:
In my solution I do the keyword search in the same form using global on the header.
But when the user clicks the Advanced find, a new window should be opened in the find mode and pause for the user input. But my main form should still remain in the browse mode itself
The user will enter the criteria and he will click a button called “Perform Search”. This has to complete the find and the form closes. The found recods in the form (which I used for find) should now be displayed on my main form
I’m struggling to find a way for this…
Qn:
How to enter the find mode in the new window without affecting my current view?
How to pause in find mode so that user enters his search criteria
How to resume the search?
How to display the foundset in the find form to my main form
I have been struggling with this also.
You might be wondering why a find instruction after the showForminDialog will not work.
This is because all the instructions after the showFormInDialog will not be executed unless the Dialog is closed.
Have a look at: http://forum.servoy.com/viewtopic.php?t=2114
If you want want to do a controller.find after the Dialog has been opened, from your main_form, you have to trigger the find method onShow (in your find_form).
But I should do it Johan’s way.
The link gives me good understanding about the formInDialog. I too will follow Johan’s way. I will try working on this and get back to you if I have any problems.