Partager via


CleanUp Method

Cleans up a project table by removing records marked for deletion and packing memo fields.

Object.CleanUp(lRemoveObjectCode)

Parameters

  • lRemoveObjectCode
    Specifies if object code stored in the OBJECT field of the project table is removed. If lRemoveObjectCode is True (.T.), the object code is removed from the table. If lRemoveObjectCode is False (.F.) or is omitted, the object code isn't removed.

    The OBJECT field contains object code for program (.prg), menu (.mnx), and query (.qpr) files in the project. If the object code stored in the OBJECT field of the project table is removed, the next time the project is rebuilt the source code is compiled and the object code is stored in the OBJECT field again.

Remarks

Every project has a corresponding table that contains project information. Use the CleanUp method to reduce the size of the table by removing records marked for deletion and packing memo fields. Cleaning up a project table reduces the time it takes to rebuild a large project or create an application file (.app), dynamic link library (.dll), or executable file (.exe) from a large project.

See Also

BUILD APP | BUILD DLL | BUILD EXE | Build Method | BUILD PROJECT | CREATE PROJECT | MODIFY PROJECT

Applies To: Project Object