Close base and close switchboard

Discuss the database features
Post Reply
juergen_1987
Posts: 16
Joined: Mon Jan 16, 2012 9:00 pm

Close base and close switchboard

Post by juergen_1987 »

Hy

i am using OOo3.3.0 and Switchboard extension and hsql 1.8 external.
i Switch the gui from base unvisible at the startup. I can only see the switchboard
Now i have a menupoint "exit". This open a form called "Schliessen".
At the startup of "Schliessen" the macro CloseMissBase starts.

Code: Select all

 Sub CloseMissBase

	sendSQL("SHUTDOWN")
  	CloseSchliessen
	ThisDatabaseDocument.close(true)
  
End Sub

Sub CloseSchliessen
  	 
 	  sFormname ="Schliessen"
   	ThisDatabaseDocument.FormDocuments.getbyname(sFormname).close
	CloseSwitchboard
End Sub

Sub CloseSwitchboard
   sFormname ="SWITCHBOARD"
 	  ThisDatabaseDocument.FormDocuments.getbyname(sFormname).close
End Sub
Now i start again my Base file but it start with the base gui and not with the switchboardmenu :(

How can i close openoffice correct? Should i build a report

The joke is. If i open a report an close this report with x everthing is closes correct. :crazy: :evil:

sorry for my bad english
OpenOffice 4.1.1 and Libreo. 4.4.x on Windows 7
F3K Total
Volunteer
Posts: 1038
Joined: Fri Dec 16, 2011 8:20 pm

Re: Close base and close switchboard

Post by F3K Total »

  • MMove 1.0.6
  • Extension for easy, exact positioning of shapes, pictures, controls, frames ...
  • my current system
  • Windows 10 AOO, LOLinux Mint AOO, LO
juergen_1987
Posts: 16
Joined: Mon Jan 16, 2012 9:00 pm

Re: Close base and close switchboard

Post by juergen_1987 »

OpenOffice 4.1.1 and Libreo. 4.4.x on Windows 7
User avatar
Hagar Delest
Moderator
Posts: 32667
Joined: Sun Oct 07, 2007 9:07 pm
Location: France

Re: Close base and close switchboard

Post by Hagar Delest »

As a side note, I don't mind crossposting when it's among different forums. The supporters are not the same and you may find an answer if a power user visits only one of them.
But please update the other threads if you find a fix somewhere!
LibreOffice 7.6.2.1 on Xubuntu 23.10 and 7.6.4.1 portable on Windows 10
Post Reply