muheeb
7th August 2002, 15:57
Hi,

What choice "mark.occur" is used for?

I thought it's a choice activated when a I MARK an occurrance

from the occurranges list I have in the display/maintain.

I tried it but it didn't work; it didn't jumpt to this the secion

of "choice.mark.occur/on.choice" when I selected an line.

HELP.

mark_h
7th August 2002, 16:38
The only time I used this was with the after.choice section.

Mark

evesely
7th August 2002, 18:02
on.choice cannot be used with all choice options. The manual I have states that it can only be used for the following choices:

user options
cont.process
print.data
run.job
global.delete
global.copy
bms
All other choices in type 4 programs (except modify.set, restart.input, end.program, abort.program)


Like Mark, I would think that after.choice might be the appropriate subsection for mark.occur.

I hope this helps.

muheeb
7th August 2002, 18:04
Yes thanks it works now...

thank u all.

baan1612
20th March 2008, 14:20
But how do I disable mark.occur in the after choice section,I need to do this in the before choice section & moreover I am on baan 4 so disable wont work,i need to have choice.again()...pls help.

mark_h
20th March 2008, 14:24
What are you trying to accomplish? Not sure why you need to disable mark.occur.

baan1612
20th March 2008, 14:31
I do not want the user to be able to select records thats it !

mark_h
20th March 2008, 15:41
Lets try this another way.

I figured this is a multi-occurance session. So if it is a display session - it does not matter if they mark records or not. There is really nothing to do to the records. If it is a maintain session then they have to at least mark one record for delete to work. So if you do not want them to delete - then disable delete and delete range. Then they can select records all they want, but the session does nothing with selected records. So why go thru the hassle of trying to figure out how to reverse (or disable) selected records if the session does not do anything with them.

baan1612
20th March 2008, 16:16
I have disabled delete and range but still I do not want the user to select and I cannnot understand why before/on choice mark.occur does'nt function in baan4 ???

baan1612
20th March 2008, 16:20
btw Mark can u plz help with another thread I posted today named "single occ field in multiocc session"..its urgent

mark_h
20th March 2008, 16:31
I have to think about the other thread. So for know try this:
choice.mark.occur:
after.choice:
remove.mark()
choice.again()

baan1612
20th March 2008, 16:37
this works..thnx a lot :)....awaiting your reply 4 the other thread.