Strona 1 z 1

Autostart switchboard

: pn gru 24, 2012 1:21 pm
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

Re: Autostart switchboard

: wt gru 25, 2012 12:19 pm
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 !!!

Re: Autostart switchboard

: śr gru 26, 2012 12:50 am
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