Retrieve lost FPT file skills

xiaoxiao2021-03-06  115

Retrieve lost FPT file skills

Due to mistakes, the free table's note file is deleted, causing the free table to open. In this case, we can use the following two methods to solve:

1. Create a new free table, and the free table contains only one field, which is a note type. Close the free table, expand it to the memo file named FPT to the mistake of the memorized free table, or rename the memo file to the mistake of the misused free table.

Run the following program can also retrieve lost FPT files:

Accept 'Please enter the free table name of the .fpt file (without extension):' to namef

Namef = trim (namef) '. bbb'

CREA DBF & NAMEF (AA ​​M)

USE

Dele File & Namef

2. Create an empty FPT file with the VFP low file function, and the original free table can be opened. The list of procedures is as follows:

Accept 'Please enter the free table name of the .fpt file (without extension):' to namef

Namef = trim (namef) '. fpt'

HAND = fcreate (namef)

ABC = REPL (CHR (0), 3) CHR (8) REPL (CHR (0), 3) '@' repl (chr (0), 504)

= fwrite (Hand, ABC)

= fclose (HAND)

Return

The above method only establishes a new FPT file for the free table of the FPT file, and the content in the original FPT file has been lost and cannot be recovered. If this is encountered in the actual operation, it is best to restore the original FPT file. If the original FPT file cannot recover, the above method is used.

转载请注明原文地址:https://www.9cbs.com/read-126474.html

New Post(0)