This discussion is archived
1 2 Previous Next 18 Replies Latest reply: Mar 8, 2013 9:46 PM by HamidHelal Go to original post RSS
  • 15. Re: make an item inactive in a record
    HamidHelal Guru
    Currently Being Moderated
    979155 wrote:
    this is the video:
    http://www.youtube.com/watch?v=nmUyxTaviHc&feature=youtu.be
    send you form to my profile mail address, i will try.
  • 16. Re: make an item inactive in a record
    982158 Newbie
    Currently Being Moderated
    the same problem !
  • 17. Re: make an item inactive in a record
    982158 Newbie
    Currently Being Moderated
    I will explain my problem in detail:
    I have n records in my interface .. "i" records are filled and "n-i" records are empty
    the problem lies at the record number i +1(the first record empty) more precisely at the item image of record i+1 !! this item image must be inactive but it's active (i can acess to this image).



    Note:
    n: is the number of records in my interface !!
  • 18. Re: make an item inactive in a record
    HamidHelal Guru
    Currently Being Moderated
    979155 wrote:
    I will explain my problem in detail:
    I have n records in my interface .. "i" records are filled and "n-i" records are empty
    the problem lies at the record number i +1(the first record empty) more precisely at the item image of record i+1 !! this item image must be inactive but it's active (i can acess to this image).



    Note:
    n: is the number of records in my interface !!
    Replace you when-image-press trigger with this
    declare
         i number;
    begin
         :system.message_level:=25;
         
         IF :NUM_J IS NOT NULL THEN
              i:= show_alert('supp');
              if i=alert_button1 then
                   delete_record;
                   commit;
                   message('enregistrement supprimé');
              end if;
    
         END IF;
    
         exception when others then
              message('Suppression impossible !Ce grade est associé à un jury');
        message('Suppression impossible !Ce grade est associé à un jury');
    end;
     
    Hope this works..
    Hamid
1 2 Previous Next

Legend

  • Correct Answers - 10 points
  • Helpful Answers - 5 points