次の方法で共有


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

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

See Also

QueryAddFile Event | QueryModifyFile Event | QueryRemoveFile Event | QueryNewFile Event | Run Method | NODEFAULT Command

Applies To: ProjectHook Object