My query is using two tables. tblBatchExport and tblCheckReg
BatchNum, BatchRunDate come from the first, CheckNo comes from the last.
I want to make a single row table with these three pieces of data. (the new table is used by Crystal Enterprise to run a series of reports)
If I use the 'totals' button and do group by for the batchnum and batchrundate it works fine but for the CheckNo when I use Last or Max I get odd results like a random check 100 or 200 checks before the last one.
I hope I've given enough to go on, I appreciate any help.
BatchNum, BatchRunDate come from the first, CheckNo comes from the last.
I want to make a single row table with these three pieces of data. (the new table is used by Crystal Enterprise to run a series of reports)
If I use the 'totals' button and do group by for the batchnum and batchrundate it works fine but for the CheckNo when I use Last or Max I get odd results like a random check 100 or 200 checks before the last one.
I hope I've given enough to go on, I appreciate any help.