RAD function: frestore

A RAD function that restores all the fields in a file to their original values from the database.

Function

frestore

Format

frestore($file)

The $file variable is the file for which you want to restore the fields to their original values.

Factors

  • Use only with a Windows client.
  • This function returns no value, it is not necessary to use it in an assignment statement.

Example

frestore($file)

If the $file variable is initialized and a record is selected, changes are made to the contents of the $file variable in memory, but the updates are not yet written to the database. After execution, the $file variable is restored to the original value, which is the state stored in the database.