Hello!

I've created a database form on a writer document.
I disabled the navigation bar at the form and i use navigation bar
controls on the form document. But the controls have no button for the
database record search.

I don't find a command to call the search dialog via API. So i recorded
a dispatcher macro:

frame = ThisComponent.CurrentController.Frame
dispatcher = createUNOService( "com.sun.star.frame.DispatchHelper" )
dispatcher.executeDispatch( frame, ".uno:RecSearch", "", 0, args() )

But this macro works also only if the form navigation bar isn't disabled.

So my question is, how can i perform a database record search in a form
where the navigation bar is disabled? Or better: How i can call the
database record search dialog without having the navigation bar enabled?

(Yes, it works, if the navigation bar is enabled but not visible. But
this isn't the solution.)


Greetings
        Mathias
-- 
·-· cut here ·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·-·->8·-·

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to