[Solved] Insert database columns with a macro in Writer
[Solved] Insert database columns with a macro in Writer
I'm trying to record a macro doing an insertion of a database search query into a .odt. I stop recording after hitting the OK in dialog "Insert database columns", the data is then inserted into the doc. When running the macro it stops with the dialog? If this require hands on programming of a macro I'll not going to use/continue with it.
Last edited by AfTech54 on Wed Feb 12, 2020 3:43 pm, edited 1 time in total.
Ooo v4.1.9, Windows 10
Re: How to insert database columns with a macro into Write
OpenOffice macro recorder is rudimentary. Often one will need to hand edit and extend the recorded code. If OpenOffice doesn't meet your needs, look for something that does.
Apache OpenOffice 4.1.15 on Xubuntu 22.04.4 LTS
Re: How to insert database columns with a macro into Write
Create a database report. A database report is a Writer table filled with query data.
Query right-click>Create Report...
A macro driven alternative: [Writer] Stand-Alone Database Reports
Query right-click>Create Report...
A macro driven alternative: [Writer] Stand-Alone Database Reports
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Re: How to insert database columns with a macro into Write
OK both and thanks. The base report doesn't fullfill my needs.
I'll keep on doing it manually.
I'll keep on doing it manually.
Ooo v4.1.9, Windows 10
Re: [Solved]How to insert database columns with a macro in W
There is a report builder extension which might fullfill your needs.
I use Calc as a report engine. It fullfulls my needs.
I use Calc as a report engine. It fullfulls my needs.
Please, edit this topic's initial post and add "[Solved]" to the subject line if your problem has been solved.
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice
Ubuntu 18.04 with LibreOffice 6.0, latest OpenOffice and LibreOffice