> I used the queries in access, and I heard that it is possible to store
> those queries on the server as "functions" or "procedures" ???
Yup, Postgres is a proper database ;-).
You might find http://www.postgresql.org/docs/ relevant, especially:
http://www.postgresql.org/docs/view.php?version=7.3&idoc=0&file=sql-createfunction.html
http://www.postgresql.org/docs/view.php?version=7.3&idoc=0&file=programmer-pl.html
"views" might also be a feature worth looking at.
Ian Barwick
barwick(at)gmx(dot)net