var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: Lock previous record once new record is entered
I have created a database where the users enter data into a form and then print out the corresponding report.
Is it possible to lock the previous record once a new record is initiated? Some users are overwiriting existing records.
If they don't need to read access to existing records, you could set your form's "data entry" property to true.
You could store a public boolean variable to reference the relative state of the current record (new vs. pre-existing)
You could provide seperate forms for adding and viewing data, the former with "data entry" set to true and the latter being an un-updatable snapshot...
There's just a few options...
Don't know if this is helpful or not but someone awhile back asked a question about how to prevent a record from being edited if today's date was greater or equal to a date field for the record so I came up with an article & sample. Maybe it'll be helpfull.