jholdrid
25th January 2007, 01:03
I have created a typical Baan session for a user to "add" or "copy" a record. My problem is that I would like different functionality in "Main.table.io" section for each one. Is there a status such as update.status (which is not the one) that I can test to know whether the user has pressed the copy or the insert ?

Thanks

bigjack
25th January 2007, 08:05
Declare a flag variable, Use the choice sections choice.add.set (for insert action) and choice.dupl.occur(for copy action). Set the flag in the before.choice
sub-section of each choice. Test this flag in main.table.io sections and take appropriate actions.