>>CALCULATE SUM(fieldname) FOR RECNO() < 0
>
>
>But would'nt this only look at new records? Existing records would be ignored.
Another possible issue. CALCULATE() changes the record pointer. Depending on the buffering mode, this could commit a record that the developer is not ready to commit. You need to make sure that table buffering is set on.