看一下QReport的例子吧
C:\Program Files\Borland\Delphi5\Help\Examples\Batchmv2
C:\Program Files\Borland\Delphi5\Help\Examples\Batchmv