Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
How to bypass previous form on release ?
#1
Hi all,

From a search form I call an edit form, but do not release the search form after creating and showing the edit form.

After the edit, I release the edit form, and sometimes I need / want to go back to the previous form (to search again) and at other times I want bypass the search form (release that as well) to go further back in the chain of forms.

So depending on what I want, releasing the edit form is not enough. I've tried with calling Release twice, but no result;

What is the right way of moving back through the line of active forms ?

Back to previous form: Release (any other commands?)

Back to the form before previous: ?
Back to main form ?

If is it possible to access the list of active forms, would it be possible to release all until a specific form, maybe identified by name ?

I mean the list of active forms is like the heap. Latest created form on top. Would it be possible to iterate through the list, releasing all forms not needed anymore, thereby going back until the main, or a certain form, is on top ?

Something like

Repeat
  release;
until activeform = 'xxx';

Sorry for getting too exited. My main need is to be able to release the previous form as well as the one I releasing, but not always.

Regards
Soren
Reply


Messages In This Thread
How to bypass previous form on release ? - by SorenJensen - 03-06-2020, 06:48 AM

Forum Jump:


Users browsing this thread: 1 Guest(s)