PeterH
8th January 2003, 17:14
Before inserting a new occurence i want to check the value from a field in the actual occurence. How can I achieve this.

Thanks in advance.
Peter.

NPRao
8th January 2003, 20:10
You can code as -


field.<fieldname>:
before.input:
on.main.table(<your function name - check.value>)


Refer to the tools manual for -
on.main.table() (http://www.baanboard.com/programmers_manual_baanerp_help_functions_db_operations_on_main_table)