How do we use the Form_End procedure


When you want your code to run after the saving of form data
you use the procedure Form_End.
The code is running after the records are added into the database.
If you want your code to run before data are added into the database, 
you use the function Form_BeforeClose.
The example below shows the basic commands. 

lib

proc Form_End( uvalue )
 
      { uvalue = the unique field's value of the record displayed on the form}

 
     write your code (code for adding, editing or deleting a record …)
     …….
     …….
     …….
     …….


end