I am using Delphi 2 and am wondering if there is a better, cleaner way to clear a record structure.
Type TheRec = Record
LastName : String;
FirstName : string;
Deleted : Boolean;
when i save the record i have noticed that some of the info from a previous record is still there too.
is there any way to clear the record contents without having to assign blank values to them?
also, rec.firstname:='' does not work.