FOR Clauses
| Visual FoxPro 9.0 SP2 |
| FOR Clauses |
| See Also |
|
A FOR clause causes a command to act on each record that meets the specified logical condition. FOR clauses have the following syntax:
The following example stores low balance in the alert field of all records that contain less than 500 in the total field.
Copy Code | |
|---|---|
FOR lExpr REPLACE ALL alert WITH "low balance" FOR total < 500 | |
Remarks
See Also
© , 1996-2020 • Updated: 11/10/20
Comment or report problem with topic
Microsoft Visual FoxPro 9 SP2 Help file, VFPX Edition v1.08