Go Back

User login

Frontpage Sponsor


How big is your Baan-DB (just Data AND Indexes)
0 - 200 GB
200 - 500 GB
500 - 800 GB
800 - 1200 GB
1200 - 1500 GB
1500 - 2000 GB
> 2000 GB
Total votes: 66

Baanboard at LinkedIn

Reference Content

4GL event sections
By patvdv at 26 Feb 2008 - 21:56

4GL event sections

A 4GL script can contain one or more of the following types of sections:

With the exception of program sections, each section consists of a main section and one or more subsections. A main section indicates the object for which the programmed actions must be executed. A subsection specifies when the actions must be executed. Program sections consist of a main section only.

If you do not include a main section immediately before a subsection, the subsection is assigned to the previous main section in the script. For example:    | main section
before.choice: | subsection of
after.choice: | subsection of

The following rules apply to the ordering of sections within a script:

  • The declaration section (a program sections) must be the first section in the script.
  • The functions section (also a program section) must be the last section in the script.
  • Other sections can occur in any order, but the preferred order is: program sections, zoom.from sections, form sections, group sections, choice sections, field sections, main table sections.
  • Do not mix sections of different types. For example, do not define a choice section, followed by a field section, and then a choice section again.

Variables declared in the declaration section are global variables that you can use in all sections. Variables declared within any other section are local variables that you can use in that section only.

Related help topics

No votes yet

All times are GMT +2. The time now is 04:45.

©2001-2018 - -