avpatil
20th November 2013, 17:29
Hi,
How do I conditionally restrict the zoom from field, means under certain conditions user is not allowed to zoom.
Thanks
Arvnd
bhushanchanda
20th November 2013, 18:13
Hi,
Not sure about your version but in LN, you can do like this to restrict the zoom field.
field.field_name:
before.zoom:
if condition not met then
message("Not allowed")
input.again()
endif
avpatil
20th November 2013, 18:25
Thanks Bhushan, It did work.
Arvind
NPRao
22nd November 2013, 02:27
Alternatively, you can also use - attr.zoomcode = 0
Refer to the thread - Equivalent of Auto zoom in Baan 5 (http://www.baanboard.com/baanboard/showthread.php?t=15204&highlight=attr.zoomcode)
avpatil
22nd November 2013, 04:33
I idid try attr.zoomcode$, but it didn't work.