Platon Technologies
neprihlásený Prihlásiť Registrácia
SlovakEnglish
open source software development oslavujeme 10 rokov vývoja otvoreného softvéru! Utorok, 24. november 2026
O nás
Magazín
Otvorený softvér
CVS
Služby
Index  »  Projekty  »  phpMyEdit  »  Fórum  »  Fields marked as ReadOnly

phpMyEdit Configuration     Fields marked as ReadOnly
Odoslať novú tému   Odpovedať na tému    
 
Odin77     Založený: 02.09.2004   Príspevky: 4  
Príspevok Zaslal: 2004-09-02 14:53
Návrat hore  Odpovedať s citátom     

Hello together,

I've got a simple (stupid) question. I want to realise a special edit-mode.

I want to set different fields to ReadOnly in dependence of there values.

For example (5 DB-Entries):
fieldname = weight
values = 1,2,3,4,5

every value > 3 should be "readonly"

Can you help, please?????

Which variable can I use to check out the value of the field 'weight'? How can I switch the Debug-Mode ON?

Many THX for help

 
Odin77     Založený: 02.09.2004   Príspevky: 4  
Príspevok Zaslal: 2004-09-03 06:33
Návrat hore  Odpovedať s citátom     

fine, that's the first step - THX.

But which variable contains the value of the selected record inside the edit-mode. I only whant to read a value of a specific field and decide to mark this field as "Read-Only".

 
Odin77     Založený: 02.09.2004   Príspevky: 4  
Príspevok Zaslal: 2004-09-15 07:48
Návrat hore  Odpovedať s citátom     

Thank's a lot! I've found it. I'm using a Trigger. It works fine.

 
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