Logo

Hacker’s Guide to Visual FoxPro
An irreverent look at how Visual FoxPro really works. Tells you the inside scoop on every command, function, property, event and method of Visual FoxPro.

CLEAR FIELDS

This old command (he played one) combines SET FIELDS TO with SET FIELDS OFF, and applies it to all work areas. It’s relevant only if you’re using SET FIELDS in the first place.

Usage

CLEAR FIELDS

Example

USE OneTable
SET FIELDS TO First, Second
SELECT 0
USE Another
SET FIELDS TO Two, Night
CLEAR FIELDS

See Also

Set Fields