I'm trying to run a query and am getting the error message
"You tried to execute a query that doesn't include the specified expression as part of an aggregate function or grouping"
I've been all over the net this morning and can't find something that will help. Here's the scenario:
I have two tables, we'll call them MAIN and PAYMENTS, which have one-to-many relationship, based on field ACCTNUM (Account Number). I want to update field MAIN.CURBAL (current balance) to equal MAIN.AMTCLSD (Amount closed) minus Sum(PAYMENTS.AMT) (payment amount).
This should be really easy but I can't seem to get around this message. Any help would be greatly appreciated.
"You tried to execute a query that doesn't include the specified expression as part of an aggregate function or grouping"
I've been all over the net this morning and can't find something that will help. Here's the scenario:
I have two tables, we'll call them MAIN and PAYMENTS, which have one-to-many relationship, based on field ACCTNUM (Account Number). I want to update field MAIN.CURBAL (current balance) to equal MAIN.AMTCLSD (Amount closed) minus Sum(PAYMENTS.AMT) (payment amount).
This should be really easy but I can't seem to get around this message. Any help would be greatly appreciated.