chenna.deepa
23rd April 2008, 13:22
Hi all,

i want to invoke message when i click the standard Save button
i have done in this manner:


choice.update.db:
on.choice:
if flag <> 1 then
message("data not saved in tfacp9162sjol")
choice.again()
endif

but no effect if i click standard save button
how to solve this problem


thanks in advance
deepa

bdittmar
23rd April 2008, 13:57
Hi all,

i want to invoke message when i click the standard Save button
i have done in this manner:


choice.update.db:
on.choice:
if flag <> 1 then
message("data not saved in tfacp9162sjol")
choice.again()
endif

but no effect if i click standard save button
how to solve this problem


thanks in advance
deepa

Hello,

try it in before.choice

Regards

zardoz
23rd April 2008, 15:23
The update.db is a standard action, so you have to do in the before.choice section of the choice.update.db, as stated by bdittmar.
But, update.db is used when you save the record, so I think that you have also to add the same actions in the end.program section (this section implies a update of data just before exit the session).