Skip to content

Selections

Roberto Artigas edited this page Jul 20, 2023 · 6 revisions

Selections (Get some data)

Selections are separated in this system into their own application (DLL) since they can be called from any location. They are also closer to the bottom of the application hierarchy for this particular reason.

In the Clarion environment, browse, form, and select work through the shared data buffer definitions and the File Manager (FM). Most of the time you can just work with what is generated. You are getting a piece of reference data from one table to another table.

For this system, there was a slightly different choice. For each table defined in the dictionary there is an ALIAS definition consistently named to be used for the selection procedure. An ALIAS table uses a different buffer definition than the original table definition. This gives you two buffer definitions that can be used simultaneously.

Some reference selection procedures return either a GUID or CODE. This makes it simple to get reference data into a table.

Code Wiki Main Repositories

Do not confuse "duty" with what other people expect of you; they are utterly different. Duty is a debt you owe to yourself to fulfill obligations you have assumed voluntarily. Paying that debt can entail anything from years of patient work to instant willingness to die. Difficult it may be, but the reward is self-respect.
Robert A. Heinlein

Clone this wiki locally