sandeep
Založený: 01.07.2003
Príspevky: 6
Zaslal: 2003-07-03 07:28
Návrat hore
Odpovedať s citátom
|
I have a database where in I have added one record as default record.
Is it possible, that users can onlt edit this record and NOT be able to delete this partcualr record.
Sounds very particular, but just thaught if someone else also has stumbled on similar requirement.
Thx in advance.
Sandeep
|
nepto
Založený: 06.01.2003
Príspevky: 320
Bydlisko: Phoenix, Arizona (USA)
Zaslal: 2003-07-03 11:36
Návrat hore
Odpovedať s citátom
|
Well, this is very particular, but it can be done. Create before delete trigger. Check ID. If ID represents non-deletable record, return FALSE from such trigger. No delete action will be taken than.
Let me know if this works for you.
|
doug
Založený: 10.02.2003
Príspevky: 1013
Bydlisko: Denver, Colorado (USA)
Zaslal: 2015-01-12 22:03
Návrat hore
Odpovedať s citátom
|
see
http://hockinson.us/txt/num_recs.txt
|
|
Odoslať novú tému
Odpovedať na tému
|
|
|