Was this helpful?
Including Procedures in an Application
In addition to frames your Vision applications can include procedures; that is, series of command statements. When your application calls a procedure, Vision executes the procedure's commands.
Write a procedure with statements written in:
4GL
A 3GL, sometimes called a host language
SQL
See the 4GL reference part of this guide, the SQL Reference Guide, or the Companion Guide for your particular 3GL for more information about creating procedures.
Follow these guidelines when using procedures in your Vision applications:
4GL procedures cannot contain references to forms or fields on a form.
3GL procedures cannot call 4GL frames or procedures.
Procedures can call other procedures.
You can use 4GL and 3GL procedures that already exist, or you can write the code when you include them.
Before you can include an SQL database procedure in a Vision application, you must have written the procedure previously with the SQL create procedure statement
See the SQL Reference Guide for more information about creating database procedures.
You create and define procedures for your applications just as you do frames. Each section below describes how to define a procedure type.
Last modified date: 01/30/2023