ravi_mehta
10th December 2008, 08:58
Hi all,

As in ERPLn we have "before.new.object" section under the program sections, which will get executed each time when a new record is inserted, as well as the TAB event of Keyboard after 1st Record entry.

In Baan4c4 i want to handle the same if user presses the TAB after inserting the 1 Record, i mean assigning some value for the index field, But in Baan4c4 above mention section is not present,due to this i m only able to assign the index value 1st time, but not at the next TAB event of Keyboard.

Thanks in Advance.

Ravi

raikar_raviraj
10th December 2008, 14:18
Hi Ravi...

You can use the when.field.changes in field section to assign index values...
or you can write the same in main.table.io section.. in before.write and before.rewrite.

ravi_mehta
11th December 2008, 06:49
Hi raikar,

Thanks for your suggestion i tried those sections but that will not hit each time when user keep on pressing TAB after insertion of 1st Record.

I solved the problem with before.input/ before.field event of the field section.

Ravi