disable updates on formview

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

hey all,
if i want the user to only be able to add one record on the formview what's
the best way to do this? they can edit current record but not add more than
one. they can also delete that one record.

any ideas?
thanks,
rodchar
 
When the user inserts the one record - retrieve and keep the PK id in memory
(session or cookie if the need is longer), so that they can only edit or
delete that one record- then check to see if it exists and if they try to
enter another, just keep them from it.
 
Back
Top