Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Why doesn't this REPLACE work
Message
From
29/01/2007 22:59:25
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Title:
Why doesn't this REPLACE work
Miscellaneous
Thread ID:
01190365
Message ID:
01190365
Views:
71
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)
Next
Reply
Map
View

Click here to load this message in the networking platform