Dennis,
You can use a subquery, or perhaps a domain aggregate function may also be applicable (depending on the details of what you want). You need to be cautions with both these approaches in the case of large sets of records, as it can get pretty clunky.
If you want more explicit help, let us know the ins and outs of what you want. Also need to define (in data terms) what you mean exactly by "previous record".