The deletefield statement deletes the current field from the database.
Parameters
No parameters.
Description
This statement removes the currently active field from the database and all data contained in that field without any prior warning. This statement will delete any type of field, however Panorama will not allow you to delete a field if it is the only one in the database.
This simple example will delete the field called Temp.
field Temp
deletefield
This example ask you if you wish to delete the current field and only does so if you click Yes.
alertnoyes "Do you really want to delete the field: "+info("fieldname")+"?"
if info("dialogtrigger") contains "yes"
deletefield
endif
See Also
History
Version | Status | Notes |
10.0 | No Change | Carried over from Panorama 6.0. |