select customer
scan
select sales
sum ordertotal for sales.customerid = customer.customerid to
nTotalSale
replace customer.totalsales with nTotalSale
endscan
The REPLACE statement does not work becuase sales.dbf is EOF(), but why?
Just curious....
TIA
The American Republic will endure, until politicians realize they can bribe the people with their own money.
- Alexis de Tocqueville
No man’s life, liberty, or property is safe while the legislature is in session.
– Mark Twain (1866)