Recent

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

Al-Eid

  • Jr. Member
  • **
  • Posts: 75
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: 14198
  • Probably until I exterminate Putin.
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 »
Specialize a type, not a var.

Al-Eid

  • Jr. Member
  • **
  • Posts: 75
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: 4219
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.12/3.2.0 - 32/64 bits on:
(K|L|X)Ubuntu 12..18, Windows XP, 7, 10 and various DOSes.

 

TinyPortal © 2005-2018