disable updates on formview

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
 
D

David Wier

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.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

FormView 3
Dynamically Enable/Disable Controls Inside FormView 3
FormView 0
get new formview row 0
FormView 0
formview and focus 0
Page to Create New Record/FormView 1
edit button on formview 2

Members online

Forum statistics

Threads
473,769
Messages
2,569,580
Members
45,055
Latest member
SlimSparkKetoACVReview

Latest Threads

Top