Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Streda, 25. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  Trigger failure not changing views?

phpMyEdit General     Trigger failure not changing views?
Odoslať novú tému   Odpovedať na tému    
 
gstaniak     Založený: 06.04.2006   Príspevky: 7  
Príspevok Zaslal: 2006-05-13 08:41
Návrat hore  Odpovedať s citátom     

Hello,

Is there an easy way to change the behaviour of a 'before' trigger so that its failure doesn't return the user to the list view, but to the same insert/update form again? Preferably, with the previous values in it? I have a case where I have to check a condition in the database that doesn't even really depend on the values entered by the user, so I need a way to implement a "not possible at the moment, please try again" functionality. Returning without a word to the list is very confusing for the users, not to mention time wasted retyping the same values when trying again.

I'll appreciate any help or hints, TIA,

--
Grzegorz Staniak <gstaniak _at_ wp *dot* pl>

 
michal     Založený: 17.06.2003   Príspevky: 537   Bydlisko: Slovakia
Príspevok Zaslal: 2006-05-15 12:29
Návrat hore  Odpovedať s citátom     

have a look at http://opensource.platon.sk/forum/projects/viewtopic.php?t=150&highlight=trigger

generally, for add mode, it is easy, for change mode it is hard.

 
gstaniak     Založený: 06.04.2006   Príspevky: 7  
Príspevok Zaslal: 2006-05-17 00:45
Návrat hore  Odpovedať s citátom     

michal Napísal:
have a look at http://opensource.platon.sk/forum/projects/viewtopic.php?t=150&highlight=trigger

generally, for add mode, it is easy, for change mode it is hard.


Thanks for the info, I'll look into the topic.

--
Grzegorz Staniak <gstaniak _at_ wp *dot* pl>

 
Odoslať novú tému   Odpovedať na tému    

Copyright © 2002-2006 Platon Group
Stránka používa redakčný systém Metafox
Na začiatok · Odkazový formulár · Prihláška
Upozorniť na chybu na PLATON.SK webstránke · Podmienky použitia · Ochrana osobných údajov