Baanboard.com

Go Back   Baanboard.com

User login

Frontpage Sponsor

Main

Poll
How big is your Baan-DB (just Data AND Indexes)
0 - 200 GB
18%
200 - 500 GB
29%
500 - 800 GB
3%
800 - 1200 GB
7%
1200 - 1500 GB
8%
1500 - 2000 GB
12%
> 2000 GB
23%
Total votes: 73

Baanboard at LinkedIn


Reference Content

 
choice.again()
By patvdv at 26 Feb 2008 - 21:57


choice.again()

Syntax

void choice.again()

Description

This cancels execution of a standard command and transfers control to the 4GL engine. Statements programmed after this function will never be executed. You can call this function during execution of a standard command. You can also call the function in field sections, as these are called indirectly during execution of some commands.

Context

4GL library function.

You can use this function only in 4GL scripts. You can use it in the following event subsections:

before.choice, on.choice, after.choice, before.field, before.input, on.input, after.input, when.field.changes, after.field

Example

 field.pctst999.item:
after.input:
if pctst999.item = 99999 then
mess("pctst.0001",1)
choice.again()
endif

| Modifying a record with item = zero is not allowed
choice.modify.set:
before.choice:
if pctst999.item = 0 then
mess("pctst.0002",1)
choice.again()
endif

Related topics

0
No votes yet


All times are GMT +2. The time now is 07:35.


©2001-2018 - Baanboard.com - Baanforums.com