Developer tips
Find APPX examples by the job in front of you. For a programming interface, start with the supported runtime routines. For a field, ILF statement, or process type, use the design manual for your release.
Find a runtime APIChoose a design manual
ILF and process behavior
Find a runtime subroutine
Look up a supported APPX routine by name or task. The separate release guide lists the routines introduced in 5.1.
Call a subroutine with GOSUB
See how APPX includes a SUBROUTINE in the calling event point at compile time.
Determine what a child process shares
Compare SUBPROCESS, RELATED, and DETACHED scope for work fields and temporary files.
Trace the process stack
Identify the chain of callers that led to the active process.
Choose the right validation event point
Work out when Pre-Display, Verify, and Pre-Display/Verify run in an INPUT process.
Open an INQUIRY from a scrolling INPUT
Reuse a full-screen INQUIRY for the selected record as an automatic or optional child.
Display user and date stamps
Show who changed a record and when the change was made.
Screens, clients, and charts
Look up an environment variable or WIDGET field
Use the Environment Variable Wizard to build a setting, the WIDGET wizard to identify field names, or the Release Notes Viewer to find a change.
Build a table or handle a GUI event
The APPX 5.2.0 feature index links the original table widget, drag-and-drop and field event guides. That release also added utilities for generating a subroutine from ILF.
5.2.0 feature indexTable widgetDrag and dropGUI eventsGenerate a subroutine
Control a widget with a macro
Look up macros for layering, drop shadows, and movable buttons in GUI processes.
Display Google Maps in the HTML client
Use an embeddable map URL when a map that worked in the Java client fails to display in a browser.
Build a chart from APPX
Find chart routines and examples for the 0CD interface introduced in APPX 5.1. The vendor site documents the underlying ChartDirector product.
Chart Director API for APPXChartDirector vendor referenceChartDirector setup manuals
Customize standard runtime screens
Use the 0LC application, hook records, and themes to change standard screens such as Scan and Disposition.
Resize a scrolling INPUT
Design a scrolling area that can use extra rows when the desktop window is taller.
Set the Desktop Client display area
Review the client window size and what a different number of rows or columns means for existing screens.
Data access and import
Improve RDBMS performance
Review how APPX reads and selects records stored in Oracle or SQL Server.
Import XML with the 0DX application
APPX introduced 0DX in 5.3. The walkthrough documents the 5.3.1 version.
Load spreadsheet data
Follow a delimited-file example. For APPX 5.1 and later, the article lists the runtime APIs that replace its older subroutines.
Import a consecutive file
Choose a method for reading an external file containing sequential records.
Copy records between APPX databases
Copy all or selected records between instances of the same APPX file.
Cache a file in memory
Review the cached-file syntax introduced in APPX 4.1 for CREATE, OPEN, SCRATCH, and IF EXIST.
Combine array occurrences into a single value
Compare an alpha conversion with a working-storage GROUP for retaining the original character data.
Handle character encodings
Trace how text encodings affect characters in imported data, XML, and PDF output.
Read APPX/IO data from Visual Basic
Follow a Windows Visual Basic example that reads APPX/IO records through ODBC. Choose an APPX ODBC cookbook.
Reports, printing, and background jobs
Set up the APPX QUERY Report Writer
Configure the report generator so end users can define their own reports.
Read query parameters in a process
Identify the three memory files that hold the query specifications for a report.
Produce a posting log with an OUTPUT
Compare an OUTPUT process with an UPDATE when a posting run needs a printed log.
Print data over a PDF form
Place a predefined form beneath the report data in an OUTPUT process.
Use custom fonts in PDF output
Review the legacy TrueType and barcode font procedure. The article identifies this implementation as unsupported in APPX 4.x and 5.x.
Print from the Desktop Client
Choose how a print job reaches a printer on the workstation.
Diagnose a missing text printout
Trace text output from the APPX process through the print queue.
Customize background processing
Review how APPX starts a separate session and how a submission script can change the way a job runs.
Operating system calls and older clients
Run Windows functions from APPX
Review older examples for invoking Windows shell functions, batch files, and executables.
Call a Windows API function
Follow the PASS and CALL interface in a Windows telephony example.
Link an external function with CALL
Read the APPX 3.4 notes for calling external code on Unix or Windows.
Record or play back keystrokes
This APPX 3.x-era procedure applies to character mode and the old Presentation Manager client.
Identify an old ,RT_ call
Use this reference when maintaining existing code. The ,RT_ calls are unsupported and can change or disappear. Use the supported runtime API directory when writing new code.
