IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Forms Oracle Discussion :

FRM-40735 le déclencheur key-next-item a détecté une exception ora-01403 non traitée


Sujet :

Forms Oracle

  1. #1
    Nouveau membre du Club
    Homme Profil pro
    Inscrit en
    Juin 2010
    Messages
    56
    Détails du profil
    Informations personnelles :
    Sexe : Homme

    Informations forums :
    Inscription : Juin 2010
    Messages : 56
    Points : 26
    Points
    26
    Par défaut FRM-40735 le déclencheur key-next-item a détecté une exception ora-01403 non traitée
    j'ai ce code qui me ramène cet erreur
    FRM-40735 le déclencheur key-next-item à détecté une exception ora-01403 non traité
    quand je m'arrange à ce que verif et verif1 soit différent et je ne sais pas pourquoi.quelqu'un sait t-il pourquoi
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    22
    23
    24
    25
    26
    27
     select montantt into debut
                from activation.start_end_montant
                where starting_id <=:starting_id and :starting_id<=ending_id;
     
     
                select montantt into fin
               from activation.start_end_montant
                where starting_id <=:ending_id and ending_id >=:ending_id ;
     
     
        SELECT count(*) INTO verif
        FROM start_end_montant,demande_chg
        WHERE starting_id <=:starting_id and :starting_id<=ending_id;-- and start_end_montant.reference=demande_chg.ref_chg;
     
         SELECT count(*) INTO  verif1
         FROM start_end_montant,demande_chg
         where starting_id <=:ending_id and ending_id >=:ending_id;-- and start_end_montant.reference=demande_chg.ref_chg;
     
     
     
     if (verif=verif1) then
     				 select  montantt into :code_carte
             from activation.start_end_montant,demande_chg
             where starting_id <=:starting_id and ending_id >=:ending_id  and start_end_montant.reference=demande_chg.ref_chg;
    else 
       	 msg_alert('Numéro de serie incorrect ou inexistant. Veuillez vérifier.',false);
    end if;
    parce que selon moi il devrait m'afficher une alerte.
    Merci pour votre aide

  2. #2
    Invité
    Invité(e)
    Par défaut
    un peu de recherche et de google ne nuisent pas :
    http://www.developpez.net/forums/d44...nees-trouvees/

  3. #3
    Nouveau membre du Club
    Homme Profil pro
    Inscrit en
    Juin 2010
    Messages
    56
    Détails du profil
    Informations personnelles :
    Sexe : Homme

    Informations forums :
    Inscription : Juin 2010
    Messages : 56
    Points : 26
    Points
    26
    Par défaut
    merci à toi 7gyY9w1ZY6ySRgPeaefZ pour le lien.j'ai fouillé mais je n'étais pas tombé sur ca.
    merci je vais maté ca!

  4. #4
    Nouveau membre du Club
    Homme Profil pro
    Inscrit en
    Juin 2010
    Messages
    56
    Détails du profil
    Informations personnelles :
    Sexe : Homme

    Informations forums :
    Inscription : Juin 2010
    Messages : 56
    Points : 26
    Points
    26
    Par défaut
    en lisant le tuto de 7gyY9w1ZY6ySRgPeaefZ j'ai essayé ce code
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    20
    21
    begin
        SELECT count(*) INTO :code_carte
        FROM start_end_montant,demande_chg
        WHERE starting_id <=:starting_id and :starting_id<=ending_id;-- and start_end_montant.reference=demande_chg.ref_chg;
        exception
       	When NO_DATA_FOUND Then 
           verif:=0  ;   
         end;
     
         begin
         SELECT count(*) INTO :lib_carte--verif1    --count(nvl(ending_id,0)) INTO verif1
         FROM start_end_montant,demande_chg
         where starting_id <=:ending_id and ending_id >=:ending_id;-- and start_end_montant.reference=demande_chg.ref_chg;
         exception
       	 When NO_DATA_FOUND Then 
         verif:=0  ;   
         end;
     
    if (verif=0 )or (verif1=0) then
              msg_alert('Numéro de serie incorrect ou inexistant. Veuillez vérifier.',false);
            end if;
    mais jusque là ça ne marche pas j'arrive pas à afficher mon message d'alerte.je ne comprend rien !!!
    il m'affiche toujours ça
    FRM-40735 le déclencheur key-next-item à détecté une exception ora-01403 non traité

  5. #5
    Expert éminent sénior
    Avatar de SheikYerbouti
    Profil pro
    Inscrit en
    Mai 2003
    Messages
    6 760
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mai 2003
    Messages : 6 760
    Points : 11 862
    Points
    11 862
    Par défaut
    Le problème doit etre ailleurs car Select Count(*) ne lève jamais d'exception NO_DATA_FOUND.

  6. #6
    Candidat au Club
    Homme Profil pro
    Étudiant
    Inscrit en
    Mai 2018
    Messages
    2
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Sénégal

    Informations professionnelles :
    Activité : Étudiant

    Informations forums :
    Inscription : Mai 2018
    Messages : 2
    Points : 3
    Points
    3
    Par défaut appel des attributs
    bonjour
    dans ma base de donnes jai un table utilisateur avec des fonction
    jaimerai si jai un fonction definis comme admin
    rendre un bouton visible ou pas. en fait depuis le login je me connecte oi comme admin ou bien chef et il prend les attribut de la fonction il m affiche le formulaire appelle avec l attribut fonction et comme sa definir les bouton active ou pas
    Images attachées Images attachées     

Discussions similaires

  1. Post Query + frm 40735 +ora 01422
    Par jeunot0108 dans le forum Forms
    Réponses: 1
    Dernier message: 19/07/2007, 15h52
  2. [FORMS] Erreur FRM-40735 et ORA-6508
    Par sourizeante dans le forum Forms
    Réponses: 5
    Dernier message: 27/06/2007, 12h14
  3. Frm-40735 / Ora-06502
    Par Tarik79 dans le forum Forms
    Réponses: 3
    Dernier message: 03/10/2006, 12h17
  4. Réponses: 3
    Dernier message: 28/04/2006, 21h35
  5. Réponses: 4
    Dernier message: 15/06/2004, 17h36

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo