Closing report with macro

    Closing report with macro

    Hello,
    I'm trying to use a "save and exit" button.
    I wrote a macro code for it.
    The save part works great.
    However, i cannot manage to close the report (wss file).
    I tried :
    close() or this.close() or array(array('actn','close')); or fclose(...)


    I know that i can use the "X" button in addition to the save button but this is not my will.
    I want to save and exit without pressing the "X" button.

    Does someone has any idea??
    Is there any macro code the will exit from the active report??

    thanks in advance!
    Amit

    Post was edited 1 time, last by “amitlivne” ().