• Introducing Dark Mode! Switch by clicking on the lightbulb icon next to Search or by clicking on Default style at the bottom left of the page!

Insert Rows in Grid....


Well Known Member
Hello List,

What is the easiest way to increment the Line Number or to increment the
Grid row when the application is being called from a different application.

Okay here is what im looking for....

Lets assume you have a application (Header Detail) where you select a
particular row and take a row exit that takes you to another custom
application......Now the requirement is such that if the record if not
present in the Table on the second application,then some of the values
should be defaulted on the grid from the previous appl...The question is how
and which event rule to use to move the FI values to the GC or should they
be moved to the Grid buffer first?.
Other requirement is that the line number should be auto incremented.

Any fast solutions??.

Thanks so much.
Get your FREE download of MSN Explorer at http://explorer.msn.com


Legendary Poster
Hi AS400Guru,

At first, your OneWorld release level could be important in your issue and you have forgotten to share it with us.
In response to your issue:
Populate the Grid Buffer (GB values) and use the "Insert Grid Buffer Row" system function (Grid Category). You can designate the place of insertation e.g. "After Current Row", "After Last Row" or numeric value and set many row attributums (e.g. Selectable, Protected, Updateable, Deleteable) in the same time.
Do not use "Write Custom Grid Line" system function, it is obsolete starting from B733.
Hope, could help a bit.

B7332 SP11, ESU 4116422, Intel NT4, SQL 7 SP1
(working with B7321, B7331, XE too)