1 2 Previous Next 18 Replies Latest reply: Mar 8, 2013 11:46 PM by HamidHelal Go to original post RSS
      • 15. Re: make an item inactive in a record
        HamidHelal
        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
          Goldray
          the same problem !
          • 17. Re: make an item inactive in a record
            Goldray
            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
              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