User:DrewJensen/check register
From Apache OpenOffice Wiki
A very simple check register database - SQL example, get a running total from the Register table
SELECT "ID", "Number", "Date", "Withdrawl", "Deposit", ( SELECT SUM( "Deposit" ) - SUM( "Withdrawl" ) FROM "Register" WHERE "ID" <= "R"."ID" ) AS "Balance" FROM "Register" AS "R"
- Dataview example, note the hidden ID column (or not :)
0.1 - table, view showing a running balance, form only partly working