Recent

Author Topic: liberoffice base and lazarus  (Read 1560 times)

Al-Eid

  • Newbie
  • Posts: 3
liberoffice base and lazarus
« on: April 04, 2019, 05:29:19 am »

Hello

I am a new member
Possible way to link Lazarus to LibreOffice Base '*.odb'
Thanks

Thaddy

  • Hero Member
  • *****
  • Posts: 10606
Re: liberoffice base and lazarus
« Reply #1 on: April 04, 2019, 07:46:28 am »
The wiki has an example: http://wiki.lazarus.freepascal.org/Office_Automation but it is windows only.
Michael van Canneyt wrote a nice article (for Delphi, also works for Freepascal):
https://www.freepascal.org/~michael/articles/openoffice1/openoffice.pdf
« Last Edit: April 04, 2019, 07:53:20 am by Thaddy »

Al-Eid

  • Newbie
  • Posts: 3
Re: liberoffice base and lazarus
« Reply #2 on: April 04, 2019, 02:54:18 pm »

thanks for the information
But what about the use of SQLdb components

lucamar

  • Hero Member
  • *****
  • Posts: 3238
Re: liberoffice base and lazarus
« Reply #3 on: April 04, 2019, 08:11:13 pm »
AFAIK there is no direct connector for Open/LibreOffice databases but if you can find an ODBC driver (Google for it) you may be able to use the ODBC connector. Look here: ODBCConn
Turbo Pascal 3 CP/M - Amstrad PCW 8256 (512 KB !!!) :P
Lazarus/FPC 2.0.8/3.0.4 & 2.0.10/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

 

TinyPortal © 2005-2018