hondaman2003
Programmer
I am using Access 2000. I have a table that has 'accounts' that has a field that is a 'starting balance'. I also have a table called 'adjustments'. This 'adjustments' table has a foriegn key that is the primary key to the 'accounts table'. Basically it works like this, the balance on the account it calculated by summing the adjustments for that account and subtracking from the beginning balance of the account table.
There is a closing date field that we added to the accounts table. I need to be able to mark all accounts that have no balance and no closing date as closed using the date of the last adjustment date from the adjustment table. How can I accomplish this with a single SQL statement?
There is a closing date field that we added to the accounts table. I need to be able to mark all accounts that have no balance and no closing date as closed using the date of the last adjustment date from the adjustment table. How can I accomplish this with a single SQL statement?