Aracılığıyla paylaş


QueryRunFile Event

Occurs just before a file is executed or a report or label is previewed in a project.

PROCEDURE Object.QueryRunFile
LPARAMETERS oFile

Parameters

  • oFile
    Contains an object reference to the file to execute or preview. oFile is passed to the QueryRunFile event after the Run method is executed, you choose Run or Preview in the Project Manager, or you choose Run File or Preview File from the Project menu.

Remarks

Applies To: ProjectHook Object

Include NODEFAULT in the QueryRunFile event to prevent a file from being executed or previewed.

See Also

Reference

QueryAddFile Event

QueryModifyFile Event

QueryRemoveFile Event

QueryNewFile Event

Run Method (Visual FoxPro)

NODEFAULT Command

Other Resources

Events (Visual FoxPro)