@Command([FileCloseWindow]) in dialog-box closes database!

Hello!

In R5 I copied OK button funtionality in a dialog with the formula:

@Command([RefreshParentNote]);

@Command([FileCloseWindow]);

In R6 I use the same code in a “Normal” style button and it closes the dialog plus the database.

And even better in a nested dialog … if I open a dialog from another dialog and close the top-level one with the above formula it closes both dialog boxes plus the database.

Anyone having the same problems or workaround?

Subject: @Command([FileCloseWindow]) could be a bug??!!??

I’ve quiet the same problem when i run these command on a button :

@command([filesave]);

@command([fileclosewindow]);

@command([openframeset];“frame”)

it won’t do anything

please help it is important to me