Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.
Keywords: ADO OpenOffice LibreOffice
I've attached the product of some intense hair-pulling... but don't bother downloading unless you plan to test. The script reads from a choice of 3 tables in the access .mdb file, saves them as a persisted xml recordset - and creates (1) a new OpenOffice Base file (2) a Table in that file corresponding to the xml structure (3) and in 1 instance inserts a record from the xml to the OO Table.
First, trying to get answers on how to do this in a scripting language is tricky on the OO forums. To be fair, many of the 'gurus' there a Linux or Mac programmers and don't even know what Windows or ADO are. So I had to carefully recruit some suggestions/pointers by logging in as a 'newbie' [user=laffdb] and asking basic directions, albeit throwing in phrases like 'Mspersist Recordsets' which finally got me started. After that, with apologies to Yoda - there was no do, there was just try:
Based on days of searching and visiting forums and blogs I would postulate the script is the best start at integrating OO and ADO from a scripting perspective you will find. Hopefully it gets placed in the tech db as a future reference - it is heavily commented.
Article ID: W18156
Filename: Mapping ADO to OpenOffice database.txt
File Created: 2019:08:14:09:27:28
Last Updated: 2019:08:14:09:27:28