Antwort: input array - insert line

[email protected]
Newsgroups gmane.comp.lang.4gl.fourjs.user
Message-ID <OF5D6A092A.E4585381-ONC1256F88.003BE981-C1256F88.003E2D42@kofu.de>
Hey,
It is an problem with the set_count() function. that function sets 
arr_count() the number of rows in an array. 

When you set the attribute count in the display array (larger than 
set_sount()) then you can generate an inserted line.

INPUT ARRAY arrayname
WITHOUT DEFAULTS FROM s_array.*
ATTRIBUTE ( COUNT= lo_x)
BOLD, UNDERLINE,
CURRENT ROW DISPLAY = "RED, REVERSE")

(see  fjs-man-f4gl-3.20.1e.pdf page 173)

An other possibility is to wirte the array in an temp -table, insert the 
new row in the temp-table , delete the array and then read the temp-table 
again into the array.


hth

Stefan Serwe

KOFU Tiernahrung Kottmann GmbH
EDV-Abteilung
Danziger Strasse 3-5
41460 Neuss
Tel.: +49 2131 181 202
Fax: +49 2131 181 204
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.