Skip to content

Installation & SetupπŸ”—

Ready to extend your Clarion application with runtime reporting? This guide walks you through how to install Fomin Report Builder (FRB), register its templates, and integrate it into your project.


🧩 System RequirementsπŸ”—

  • Clarion Versions: Clarion for Windows 2.0, Clarion 4, or Clarion 5
  • Template Chains Supported: Legacy and ABC
  • Target Architecture: 16-bit or 32-bit (FRB supports both)
  • Operating System: Windows 95 and later (including modern OS support via compatibility layers)

πŸ“ File Structure OverviewπŸ”—

FRB consists of:

Folder Purpose
BIN/ Runtime DLLs and Help files
TEMPLATE/ FRB and FRBC template sets
LIB/ and LIBSRC/ Library files and Report Builder Classes
IMAGES/ Icons for ReportManager Tree
EXAMPLE.FRB/ Sample app (.APP, .DCT, .TPS, etc)
WINDOWS/ frb_nls.ini (for NLS support)

Place these files according to your installed Clarion version: C5/ β”œβ”€β”€ BIN/ β”‚ β”‚
β”‚ β”œβ”€β”€ C5FRB.DLL β”‚ β”‚
β”‚ β”œβ”€β”€ C5FRBx.DLL β”‚ β”‚
β”‚ └── .HLP β”œβ”€β”€ LIB/ β”‚ β”‚
β”‚ └──
.LIB └── TEMPLATE/ β”‚
β”œβ”€β”€ frb.tpl β”‚
β”œβ”€β”€ frbc.tpl β”‚
└── frblocal.tpw

ℹ️ DLLs must be included in your PATH or co-located with your executable.


🧰 Step-by-Step InstallationπŸ”—

1. Template RegistrationπŸ”—

In the Clarion IDE:

  • Navigate to Setup β†’ Template Registry
  • Click Register
  • Add the following templates:
  • frb.tpl (Legacy)
  • frbc.tpl (ABC)

πŸ” Do this for each Clarion version you plan to use (e.g. C4, C5).


2. Global ExtensionsπŸ”—

In your .APP:

  • Add RussianLocale extension (optional for non-English languages)
  • Add CorrectReportClosing to your Frame procedure (ensures proper MDI child shutdown)

3. Runtime IntegrationπŸ”—

Create the following procedures using the FRB template set:

Procedure Type Description
RunTimeReport Core runtime editor/engine for .RPT files
ReportManager Tree-based interface for managing reports

You can use one RunTimeReport procedure per table group (VIEW structure), then reference them from one or more ReportManager procedures.

πŸ’‘ Want to launch FRB from any point in your app? Use the LaunchRunTimeReport code template or invoke it manually using: ```clarion RTReportFileName = 'filename.rpt' RTReportSearchPath = 'path' RTReportEditAction = 1 ! 0=Print, 1=Edit

🌐 National Language Support (NLS)πŸ”—

FRB supports multilingual UI out-of-the-box:

Language Method
English Built-in
Russian Built-in
Other Via FRB_NLS.INI file

πŸ“ Setup StepsπŸ”—

  1. Copy frb_nls.ini to your Windows directory (e.g. C:\Windows)
  2. Translate messages inside frb_nls.ini to your target language
  3. Set the CLACASE environment variable for correct runtime casing of non-English variables

ℹ️ If frb_nls.ini is missing, it will be generated automatically with English defaults when the app runs.


πŸ’Ύ Sample ApplicationπŸ”—

Explore the included inventory example at EXAMPLE.FRB\, which contains:

  • inventry.app, inventry.dct, inventry.tps: Application source and data
  • Sample .rpt files to explore reporting capabilities
  • Usage of IdentifyFields, InvokeDictionary, and formula-driven reports

This is a great starting point for testing, prototyping, or adapting into real-world systems.


βœ… What’s Next?πŸ”—

Time to empower your users! Learn how they can build and manage rich report formsβ€”without writing a line of code.

β€œJust install onceβ€”your users handle the rest.”