Autostart switchboard

Użytkowanie programu bazodanowego
arekk
Posty: 9
Rejestracja: pn gru 24, 2012 1:10 pm

Autostart switchboard

Post autor: arekk »

Dzień dobry.
Zainstalowałem dodatek SwitchBoard-1.2.0 (http://extensions.services.openoffice.org/en/node/4174)
Wiem, że jest to możliwe, i odpowiedz znajduje się w Google pod hasłem "how to run automatic switchboard open office" ale strona http://www.oooforum.org
albo padała, albo mnie nie lubi gdyż dostaje komunikat "Przekroczono limit czasu połączenia"
Drugie co wiem to że trzeba użyć makra, aby wywołać automatycznie okno, teraz powstają pytania:
1. Jakie to makro?
2. Gdzie je wstawić?
3. I jak zapisać plik tak aby otwierać tylko gotowy zaprojektowany switchboard gdzie będę "przyciski" do formularzy, raportów itp.

Dziękuje za pomoc, i życzę Wesołych Świąt
LibreOffice Wersja 3.6.4.3 na Windows 7
belstar
Posty: 654
Rejestracja: czw mar 17, 2011 9:08 am

Re: Autostart switchboard

Post autor: belstar »

Just to clarify, you'll need a dedicated Switchboard .odb file in addition to your current setup:
(1) Create a New > Database in Base using the defaults.
The result is an empty HSQLDB-embedded .odb file that's registered in Base as a Datasource.
(2) Make sure your target Datasource is also registered in Base.
This is your .odb file which provides access to your target database, and contains any related forms, queries, reports, or macros.
Register and manage available Datasources in Base with: Tools > Options... > OpenOffice.org > Databases.
(3) Install the Switchboard extension, as necessary.
(4) Select Tools > Add-Ons > OpenOffice.org Base Switchboard
(5) When creating "Switchboard Entries" the "Target Database" drop-down menu should be used to select your target Datasource.
As you can see, each Switchboard entry (button) can be used to access a different Datasource (.odb file), as needed.
(6) To launch your Switchboard menu when Base starts:
Tools > Customize... > Events tab > Open Document > Assign: Macro > My Macros -or- OpenOffice.org Macros > Switchboard > Utils > AutoExec > OK > Save in: {your new switchboard database name}.odb > OK
(7) In a client-server environment, distribute your Switchboard (.odb file) along with your Datasource .odb file(s) to each client-computer while ensuring that each installation includes the Switchboard extension and appropriate (.odb file) registration in OpenOffice.

Cool Enjoy !!!
LibreOffice 5.1.2.2 Ubuntu 16 LTS
Jan_J
Posty: 4560
Rejestracja: pt maja 22, 2009 1:20 pm
Lokalizacja: Wrocław

Re: Autostart switchboard

Post autor: Jan_J »

arekk pisze:ale strona http://www.oooforum.org
albo padała, albo mnie nie lubi gdyż dostaje komunikat "Przekroczono limit czasu połączenia"
To jest stare forum, obecnie bez gospodarza i niestety zaspamowane. Czasami da się połączyć, ale na ogół jest tak, jak piszesz. Na ten temat: http://forum.openoffice.org/en/forum/vi ... 49&t=57010
JJ
LO (7.6|24.2) ∙ Python (3.12|3.10) ∙ Unicode 15 ∙ LᴬTEX 2ε ∙ XML ∙ Unix tools ∙ Linux (Rocky|CentOS)
ODPOWIEDZ