obligatory fields in form

gpangelsgpangels Member Posts: 2
I want that many fields in form are obligatory fields.

To do this I have 2 ideas:

-In OnNewRecord trigger of the form I call a new form to introduce the obligatory fields and then I insert the field into a table.
When the form close the field that appears is the first. I want to show the new record. How can I do it?

-In OnInsert for the table I show a new form with the obligatory fields and I want that if the user close a form if many fields aren't introduced the form never close.How can I do it?

Exists another way to do this?.

Thank you,

Angels

Comments

  • krikikriki Member, Moderator Posts: 9,118
    There are some topics on this subject.
    Search for "Mandatory" or "obligatory".
    Regards,Alain Krikilion
    No PM,please use the forum. || May the <SOLVED>-attribute be in your title!


  • Miklos_HollenderMiklos_Hollender Member Posts: 1,598
    Set form to DelayedInsert. Write code in OnInsert. Search the forum for more sophisticated solutions based on this, which also handle modification.
Sign In or Register to comment.