amrit_shirodkar
10th October 2008, 08:14
Hello,
The find button (binoculars) opens a pop-up having fields present in the index(or indices ) of that session.
What I want is I want to disable or make invisible 2 fields : Order No. & Activity No.
Please see the attached document.
Thanks
mark_h
10th October 2008, 16:28
Try changing the to display fields.
bdittmar
10th October 2008, 16:37
Hello,
The find button (binoculars) opens a pop-up having fields present in the index(or indices ) of that session.
What I want is I want to disable or make invisible 2 fields : Order No. & Activity No.
Please see the attached document.
Thanks
Hello,
field.myfield:
before.input:
if choice = def.find then
attr.input = false
else
attr.input = true
endif
But ? Disable searching by index fields disables ?
_Ralph_
10th October 2008, 17:14
disable.fields("field.1", "field.2" ...)
if I understood =P
amrit_shirodkar
13th October 2008, 09:46
Try changing the to display fields.
Thanks Mark.
I am on ERPLn FP3. I tried that. It works on FP1 but doesn't work on FP3 :(
amrit_shirodkar
13th October 2008, 09:47
Hello,
field.myfield:
before.input:
if choice = def.find then
attr.input = false
else
attr.input = true
endif
But ? Disable searching by index fields disables ?
Thanks bdittmar
But the code does not work on ERPLn FP3 :(
george7a
13th October 2008, 14:32
In order to disable the field in LN, you should use the disable.fields() function (http://www.baanboard.com/programmers_manual_baanerp_help_functions_form_and_form_field_operations_disable_fields) and not attr.input.
- George
amrit_shirodkar
14th October 2008, 08:32
In order to disable the field in LN, you should use the disable.fields() function (http://www.baanboard.com/programmers_manual_baanerp_help_functions_form_and_form_field_operations_disable_fields) and not attr.input.
- George
Thanks for your reply George, I tried that in every possible way but in vain. :eek:
george7a
15th October 2008, 14:13
As a friend once told me: "Where there is a will there is a way". NEVER give up..
There is a workaround mention in this thread (http://www.baanboard.com/baanboard/showthread.php?t=27078) in post 20 (http://www.baanboard.com/baanboard/showpost.php?p=98136&postcount=20). I hope you find this helpful.
What you can also do is to disable the standard find button and make your own "find session" (with the fields that you want) and add another "Find" button to your main session to activate your find session.
amrit_shirodkar
15th October 2008, 14:49
As a friend once told me: "Where there is a will there is a way". NEVER give up..
There is a workaround mention in this thread (http://www.baanboard.com/baanboard/showthread.php?t=27078) in post 20 (http://www.baanboard.com/baanboard/showpost.php?p=98136&postcount=20). I hope you find this helpful.
What you can also do is to disable the standard find button and make your own "find session" (with the fields that you want) and add another "Find" button to your main session to activate your find session.
Thanks a ton, George, :) I will try what you have said and update this thread about the result.