Hi Ariel,
Am 06.11.2013 00:30, schrieb Ariel Constenla-Haile:
> 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).
>
thank you for your helpful example (attachment dropped).
Regards
Peter
---------------------------------------------------------------------
To unsubscribe, e-mail: api-unsubscribe@openoffice.apache.org
For additional commands, e-mail: api-help@openoffice.apache.org
|