Hi Wolfgang,

> Sounds good, but
> running a macro (with Base-Doc not open), how can I obtain 
> <a controller of the document and dispatch the command 
> ".uno:DBRefreshTables"> ?

Ocke's last sentence

>>> Normally it should be enough to query for the XRefresh
>>> interface and call a refresh.

was referring to the tables container of your connection object, and I
think this is what caused Andrew's ecstasy :)

Ocke's first solution about dispatching an Command to the controller
only updates the view in this controller. This internally *also*
refreshes the tables container of the connection of the controller, but
since your macro most probably has a connection different from the one
used in the controller, this isn't of much help for *your* connection.

Ciao
Frank

-- 
- Frank Schönheit, Software Engineer         [EMAIL PROTECTED] -
- Sun Microsystems                      http://www.sun.com/staroffice -
- OpenOffice.org Database                   http://dba.openoffice.org -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -


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

Reply via email to