Writing a Form to Disk

Once you have finished making the desired changes to the form, you should save it to disk. If you want to retain the original form (calculateAge.xfd), you should save the modified form under a new name. This program saves the modified form as Output.xfd.

  1. Define the method saveForm. This method demonstrates the use of the FormNodeP method writeForm.
       private static void saveForm( ) throws UWIException
       {
    
  2. Call the Form method writeForm and pass it the new name of the form.
     theForm.writeForm("Output.xfd", null, 0);
          }