JavaScript Editor js editor     Web development 

Main Page

Specifies the application used by the Report Designer to handle builder events.

For more information on report builders, see How to: Extend or Replace the Report Builder




Specifies the name of an application or program that the Report Designer calls when a builder event occurs. You can also specify an empty string (""), which causes dialog boxes to appear as in versions prior to Visual FoxPro 9.0.
If the application is located in a directory other than the current default directory, include a path name with the program name.


By default, _REPORTBUILDER specifies the path and file name for the located in the main Visual FoxPro directory.

You can also specify a builder application file using the File Locations tab in the Options dialog box. For more information, see File Locations Tab, Options Dialog Box.

The application you specify with _REPORTBUILDER must be modal in operation, accept parameters passed to it from the Report Designer and return appropriate values for the first parameter, which is passed by reference.

Visual FoxPro does not generate an error if it does not locate an application for _REPORTBUILDER. The Report Designer raises builder events only if you specify a valid application or program file.

When distributing report builders with your applications, you may find it convenient to explicitly set _REPORTBUILDER in the Visual FoxPro configuration file, Config.fpw. For more information, see Including Report Files for Distribution and Setting Configuration Options at Startup.


The following line of code sets the _REPORTBUILDER system variable to the default Report Builder application:

В Copy Code

See Also

JavaScript Editor js editor     Web development