Create a summary field as Count of Funds, and use it in your script, e.g.:
If [ GetSummary ( sCountOfFunds ; sCountOfFunds ) ] // at least one record in the found set has an amount in funds
Delete All Records…
From the FM help:
When a summary field is also used as the break field, returns the summary field value for the entire found set of records (a grand summary value).
Thanks so much! That works!
[…] That works!
Otherwise I hadn't suggested it …