LibreOffice Base and PostgreSQL Transactions

From: Don Parris <parrisdc(at)gmail(dot)com>
To: pgsql-general(at)postgresql(dot)org
Subject: LibreOffice Base and PostgreSQL Transactions
Date: 2013-07-18 20:44:45
Message-ID: CAJ-7yo=UWwzZ4fft4+N2=b5tKOPoRSGSf7jqbYJ+GNNtMrWdGQ@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

Hi all,

I have a 4-table DB in PostgreSQL to which I connect using LibreOffice
Base. I have a form with 2 subforms in place that allows me to:
Select an existing entity (from the ENTITY table)
Add a new financial transaction (to the TRANSREC table)
Add new line items for each transaction (to the TRANSDETAILS table).

I would like to take advantage of PostGRESQL's underlying transaction
(start, rollback, commit, etc.) capability to ensure that a given
transaction and its
line items are entered as one single transaction - or allow me to rollback
when encountering a glitch. I just don't know how to implement that using
Base as a front-end (or if it's possible).

Maybe I really need something like macros and BASIC or Python to make such
a thing work? If anyone knows a good tutorial on this subject, I can
certainly read - just haven't really found anything yet.

Many thanks in advance,
Don
--
D.C. Parris, FMP, Linux+, ESL Certificate
Minister, Security/FM Coordinator, Free Software Advocate
http://dcparris.net/
<https://www.xing.com/profile/Don_Parris><http://www.linkedin.com/in/dcparris>
GPG Key ID: F5E179BE

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Joshua D. Drake 2013-07-18 21:01:27 Re: LibreOffice Base and PostgreSQL Transactions
Previous Message John R Pierce 2013-07-18 19:20:52 Re: new instance of postgres on windows