Tuesday 21 June 2011

ALERTS in D2K

step 1  : Go to alert  
step 2  : create alert name  ------------->using f4
step 3  : Select DEFALT_ALERT_BUTTON ----------------> Give {LIST ITEM }  button
step 4  : create any auther function button --------->Eg   SAVE Button
step 5  : Write a qury in that function button -----------> Go to    {WHEN_BUTTON_PRESED}

====================
SAMPLE CODING:=
====================
declare
                                  a_ _number
                      begin
                              a:=show_alert('in_save');
                              if_ _a=alert_betton1
                            then
                                  commit_form;
                       end if;
                       end;   
            

No comments:

Post a Comment