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
PATHor 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
RussianLocaleextension (optional for non-English languages) - Add
CorrectReportClosingto 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
LaunchRunTimeReportcode 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π
- Copy
frb_nls.inito your Windows directory (e.g.C:\Windows) - Translate messages inside
frb_nls.inito your target language - Set the
CLACASEenvironment variable for correct runtime casing of non-English variables
βΉοΈ If
frb_nls.iniis 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
.rptfiles 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.β