Ask Your Question
0

Base| Is it possible to set default tab index/tab order at 'Tables'?

asked 2019-10-30 18:30:31 +0100

lonk gravatar image

Now it is always at 'Forms'. image description

edit retag flag offensive close merge delete

1 Answer

Sort by » oldest newest most voted
0

answered 2019-10-30 23:57:37 +0100

Ratslinger gravatar image

Hello,

You can do this with a short macro attached to Open Document event of .odb:

sub OpenAtTables
    dim document   as object
    dim dispatcher as object
    document   = ThisComponent.CurrentController.Frame
    dispatcher = createUnoService("com.sun.star.frame.DispatchHelper")
    dim args1(0) as new com.sun.star.beans.PropertyValue
    dispatcher.executeDispatch(document, ".uno:DBViewTables", "", 0, args1())
end sub

This can be set to any of the four sections by changing the dispatcher uno command above using any one of the following:

.uno:DBViewTables
.uno:DBViewQueries
.uno:DBViewForms
.uno:DBViewReports
edit flag offensive delete link more

Comments

Dear @Ratslinger ,

Thank you so much.

Is this the same as in OpenOffice Base ?

Actually it's not a big deal, it only scared me to death every time upon opening LO Base for I thought all tables are gone.

Maybe I got stuck with MS Access for decades.

lonk gravatar imagelonk ( 2019-10-31 04:45:39 +0100 )edit

Actually don't have AOO loaded on current systems but seem to remember it was the same. I am the opposite. Been a long time since Access and don't even remember how it worked now.

Ratslinger gravatar imageRatslinger ( 2019-10-31 04:56:49 +0100 )edit
Login/Signup to Answer

Question Tools

1 follower

Stats

Asked: 2019-10-30 18:30:31 +0100

Seen: 30 times

Last updated: Oct 30 '19