I'm currently working on a database to print individual customer statements. I use a recordset to get all transactions relevant to a particular customer, and then it prints all of these onto a form (paper form, not Access). The SQL statement looks something like this...
SELECT [Balance], [TransactionID]
FROM [tbl: Transactions]
WHERE [CustomerID] = '4775'
ORDER BY [TransactionID]
4775 is just an example, of course. Now, the problem is, there are a couple of transactions that need to be at the bottom of the form. Also, the rest of the transactions need to be sorted by TransactionID. Is there any way I can order the recordset by TransactionID, with an exception to place certain TransactionID's at the end of the recordset?
If there's no simple way, does anyone have other design suggestions for this problem?
SELECT [Balance], [TransactionID]
FROM [tbl: Transactions]
WHERE [CustomerID] = '4775'
ORDER BY [TransactionID]
4775 is just an example, of course. Now, the problem is, there are a couple of transactions that need to be at the bottom of the form. Also, the rest of the transactions need to be sorted by TransactionID. Is there any way I can order the recordset by TransactionID, with an exception to place certain TransactionID's at the end of the recordset?
If there's no simple way, does anyone have other design suggestions for this problem?