| View previous topic :: View next topic |
| Author |
Message |
juergen_1987 General User

Joined: 16 Jan 2012 Posts: 5
|
Posted: Thu Jan 26, 2012 11:26 am Post subject: close base and close switchboard |
|
|
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: | 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:
sorry for my bad english |
|
| Back to top |
|
 |
juergen_1987 General User

Joined: 16 Jan 2012 Posts: 5
|
|
| Back to top |
|
 |
|