Navigation:  Reference > Commands >

Save Form

Print this Topic Previous pageReturn to chapter overviewNext page

 

Use this command to save to a DFM file on disk, a previously loaded form.

 

SAVE_FORM f/c/e Required - The name of the form to be saved.  This is the "internal" name of the form, not the name you loaded it with.  You can get that name with the GET_FORM_NAME() function which can be used as the value here.

 

TO f/c/eRequired - This is the name of the disk file the form will be saved to.  It can be the same name as the original or a different name that will have the effect of making a copy.

 

 

COMMENTS

This command gives you a very easy way to save a form after you've made changes to it using the SET_OBJECT command or the '@object_name.property' form of the EQUAL command.  Any change you make to the form will be saved with the form, including all current data displayed in the objects, any changes made to those objects, etc.  Through the use of this option you could easily setup a program that would allow the user to click on a field to have it removed from the form, set the VISIBLE property for that field to FALSE, save the form, and the field will not show up when it is subsequently loaded at a later time.

 

NOTE:  This command will work with the active form only.

 

NOTE:  If you save the form to the same name as the original form, the original form will be over-written and cannot be recovered.

 

SEE ALSO

LOAD_FORM

 

 

 


Page url: http://www.cassoftware.com/tas/manual/saveform.htm