Thanks, Delete a file from the file system.
function DeleteFile(const FileName: RawByteString):Boolean;
Description: DeleteFile deletes file FileName from disk. The function returns True if the file was successfully removed, False otherwise. On error, False is returned.
So, to delete a Dbf file named Appointments.dbf from a file located on 'C:\Documents\Software Development\PMS Project\PMS Data\'
if DeleteFile(C:\Documents\Software Development\PMS Data\Appointments.dbf) = True then
CreateNewAppointments.dbf table code
else
Error statement;
Correct?