Next: , Previous: , Up: Top   [Contents][Index]


5 Editing Fields

Fields of a recfile can, of course, be edited manually using an editor and this is often the easiest way when only a few fields need to be changed or when the nature of the changes do not follow any particular pattern. If, however, a large number of similar changes to several records are required,the recset command can make the job easier.

The formal description of recset is presented later (see Invoking recset). In this chapter some typical usage examples are discussed. As with recdel, recset if used erroneously has the potential to make very pervasive changes, which could result in a large loss of data. It is prudent therefore to take a copy of a recfile before running such commands.