rajeev2012
6th August 2008, 11:35
Hi
We want to disable standard command, based on a condition. Hence, the following code has written (it is a satellite sessions)but it doesn't work.
choice.mark.occur:
after.choice:
if xiext321.altp = xiext.altp.new.model or
xiext321.altp = xiext.altp.collab then
enable.commands(mark.delete)
endif
else
disable.commands(mark.delete)
endif
In debug, we have noticed,
- Though we have marked a single record, the "choice.mark occur" gets executed as many time as the number of records (filled occurrences)
- The line "disable.commands(mark.delete)" gets hit but it the delete option gets enabled.
Please let me know your views, suggestions.
Thanks
Rajeev
We want to disable standard command, based on a condition. Hence, the following code has written (it is a satellite sessions)but it doesn't work.
choice.mark.occur:
after.choice:
if xiext321.altp = xiext.altp.new.model or
xiext321.altp = xiext.altp.collab then
enable.commands(mark.delete)
endif
else
disable.commands(mark.delete)
endif
In debug, we have noticed,
- Though we have marked a single record, the "choice.mark occur" gets executed as many time as the number of records (filled occurrences)
- The line "disable.commands(mark.delete)" gets hit but it the delete option gets enabled.
Please let me know your views, suggestions.
Thanks
Rajeev