baanjim
4th April 2023, 18:42
Hi,
I developped a calculated field in session whinh2129m000. In order to filter it I use the "nested select" method.
The filter works fine but I would like to "suppress" old values from it.
See my file.
Do you think it's possible?
Thx
JaapJD
6th April 2023, 09:48
Implement the After Read Hook in the session extension and code the following:
function extern void after.form.read()
{
set.initial.enum.values.for.field("ext.status", ALL_ENUMS_EXCEPT,
1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
}
You can also use the constant names like tcosta.old.planned, but this is shorter :-). Your extension field may be named differently of course.
baanjim
6th April 2023, 14:33
Implement the After Read Hook in the session extension and code the following:
function extern void after.form.read()
{
set.initial.enum.values.for.field("ext.status", ALL_ENUMS_EXCEPT,
1, 2, 3, 4, 5, 6, 7, 8, 9, 10)
}
You can also use the constant names like tcosta.old.planned, but this is shorter :-). Your extension field may be named differently of course.
Great!
It works perfectly.
Thanks a lot!