You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 13 Next »

SELECTFILE$ opens the Windows file dialogue and returns the file selected

Syntax

SELECTFILE$(DialogueTitle$, Dir$, Filter$)

Arguments

  • DialogueTitle$ contains a string with the title or "Caption" of the file dialogue
  • Dir$ contains the first path where to look for files, e.g.: "\\Ma013srv\Data" or "C:\Program Files\Quaestor\Data". "NullString" can be provided if the file should be selected in the current Report directory (see Directory structure
  • Filter$ contains the file filter set for the dialogue, e.g.: "Telitab Files (*.qdb)|*.qdb|External Process Output Files (*.epo)|*.epo" or "MMS data Files (*.mms)|*.mms"

Remarks

  1. If the dialogue is closed by "Cancel", "NullString" is returned by SELECTFILE$
  2. The file dialogue can also be invoked to assign a value to a string variable using the following meta command (attribute) in the data slot of the parameter:
  • No labels