chenna.deepa
23rd April 2008, 16:02
hi all,
how to restrict a when ever we directly close the session
like what event i need to use..or any function ...
please tell me how to solve
thanks in advance
deepa
mark_h
23rd April 2008, 16:54
How about more details on what you want to prevent or make happen? The two events that I can think of are choice.end.program and choice.abort.program(I think). Because as far as I know you can not keep people from doing a ctrl-alt-delete and killing a session.
chenna.deepa
24th April 2008, 07:04
hi all,
i want to prevent the session in closing if it is not saved.. so what event i need to use...if i close the session it should not allow me to close unless i save the data...
how to solve this
thanks in advance
deepa
mark_h
24th April 2008, 17:59
How about just doing an execute(update.db) before they exit the program. I do this in a couple of programs:
choice.end.program:
before.choice:
execute( update.db )
Just remember that it will not solve people doing ctrl-alt-del and killing a session.
saumya
29th April 2008, 10:17
hi,
remove choice command save + exit and exit from form.
and in ur script when user will update record use end().
I hope this will help u.