openoffice-api mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Ariel Constenla-Haile <>
Subject Re: API for setting a resultset to masterfields (
Date Tue, 05 Nov 2013 23:30:35 GMT
Hi Peter,

On Tue, Nov 05, 2013 at 03:12:45PM +0100, Peter Eberlein wrote:
> Hi,
> in the gui there's a command "Data into fields" for a selected row in
> Database sources.  Any ideas how to get the selected row (bookmark of
> the resultset) into these fields with api?  I remember that Fernand
> asked Frank S. a similar question, but didn't found it anymore.

AFAIK there is no API for that, but you can dispatch the UNO command
with the proper arguments sequence; see the attached example, it uses
record numbers instead of bookmarks, but it should work with bookmarks
too (set "BookmarkSelection" to True).

Ariel Constenla-Haile
La Plata, Argentina

View raw message