FAQ's - APPX Software, Inc. : APPX Utility : APPX Development Environment : Tips & Techniques :
Adding new fileds with defualt values to an existent file | |
Would APPX place the default value of the new field into every existing record in the file? We do in fact add the default value to every record when you restructure. The restructure process generates an event point that BEG/END READ's through the old file, SET's the old fields into the new structure, then WRITE's the new record. After each read, we RESTORE DEFAULT RECORD (into the new record) - that assigns the default values to all fields. But, if you do a quick restructure (that is, you add a field to a variable-record-length file), we don't read copy the records.
| |
[Append to This Answer] | |
2005-Oct-11 9:59am |
Previous: | Copying Files between Databases/Versions |
Next: | I have an ALPHA field with a validation table, but it allows for any value to be entered, regardless of the validation table values |
|