cucucucu
16th April 2004, 05:59
Hi,
In a maitain session, how to control insert function? I mean when satisfy a conditon I can insert a record, otherwise I cannot do it. Is there any function or idea?
Thanks a lot!

avm204
16th April 2004, 07:16
Hi,

u can use following code

choice.update.db:
before.choice:
if not CRITERIASATISFIED then
choice.again()
endif


above code will activate when save event occured and before saving it will check the criteria if it is not satisfied the choice will be rolled back.

ajay:)

cucucucu
16th April 2004, 07:21
thank you, I will try it.:D