Hello everybody,
Here is my problem: I'm using a OpenBase file : xxx.odb. In this file, there are some formulas. From one of these forms, I'm opening another one with macro. This is working good. But now, I would like to find the macro to close this opened form.
I've tryed something like :
myForm = ThisComponent
myForm.close (True)
but it doesn't work.
If someone has informations about that, I would be very grateful!!..
Xavier.
[Solved] Close OpenBase Forms
[Solved] Close OpenBase Forms
Last edited by xavlegrav on Fri Feb 08, 2008 11:17 am, edited 1 time in total.
Re: Close OpenBase Forms
try to close the Frame instead with
ThisComponent.CurrentController.Frame.close(FALSE)
ThisComponent.CurrentController.Frame.close(FALSE)
Re: Close OpenBase Forms
Thank you mobi-doc, it works!...mobi-doc wrote:try to close the Frame instead with
ThisComponent.CurrentController.Frame.close(FALSE)
Sorry, my question was maybe silly, but I'm a begginer
Thank you for this forum, it's very helpful !