var sidebar_align = 'right';
var content_container_margin = parseInt('290px');
var sidebar_width = parseInt('270px');
Unanswered: I want my subform to allow adding only one record at the time
I have the following problem:
I have a form with subform. The relationship between them is one-to-many but when user fills them (in one instance of the form) the subform should allow only one record to be added. How can I do that?
(The way it is now - when the user hits ENTER after the last field of the subform it opens a new record and that way the user can add many records in the subform)
Use the event AfterUpdate of the subform to send the focus to form.
Then when the users add a record the focus return to the form.