Re: Cancel Insert and Delete row in input array in VDC

"Vigil, Joe" <[email protected]>
Newsgroups gmane.comp.lang.4gl.aubit.general
Message-ID <BN6PR05MB347557325003CCA1B037F7CADAC10@BN6PR05MB3475.namprd05.prod.outlook.com>
Carlos,
   We do this a couple of ways.
One way is to use the OPTIONS statement to give the INSERT and DELETE keys to function keys that don’t exist, i.e. “options INSERT KEY F35, DELETE KEY F36”. We do this in Informix-4gl; I assume that Aubit supports this.
Additionally you can use the “BEFORE INSERT” section to send the user to another field. I assume that this works with Aubit.
BEFORE INSERT
    NEXT FIELD id

Hope this helps!

- Joe Vigil
  IT Director
  Avibank Mfg., Inc.
  818-392-2111

From: Carlos Alberto Correa Fayad [mailto:[email protected]]
Sent: Friday, June 16, 2017 8:08 AM
To: source <[email protected]>
Subject: [Aubit4gl-discuss] Cancel Insert and Delete row in input array in VDC

Hi

What a pity to insist on this error, but I can not find a solution.

With this program I want to take an inventory and deploy the products to the user and just enter the quantity. The user must go through the array of row one to the last, and can not delete or insert rows.

Mistakes

1. It does not allow blocking of insertion or deletion of rows.

2. I can insert rows with the "Insert" option, until I generate error.

3. I can delete rows, and this I do not want to allow.

Attached program, form, and debug output.

I have installed Aubit 1.2.40 and the latest version of VDC, on linux



Thank for all

________________________________

This email and any attachments may contain confidential and proprietary information and must be treated as such. In addition, export or re-export of the information contained in or attached to this email may be prohibited under export control laws.

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot

_______________________________________________
Aubit4gl-discuss mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/aubit4gl-discuss
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.