Skip to main content

Delete an original data field

Hi Brian,
I tried to generate some code by means of the makro recorder in IDEA which allows to delete an original data field. But I did not work. I am searching for a command which turns off the default setting which blocks the delete of original data fields and then turns it on again.
Thank you very much in advance for your help.
Best
Bobby

Brian Element Sun, 07/24/2016 - 16:58

Hi Bobby,

Unfortunately you can't turn it off from the default settings, this changed with V9 of IDEA.  There are a couple of things you can do, you can test (try and delete a field) when the script starts and if it can't then stop the script and ask the user to change the default setting or if the file isn't that large you can do an extract with all the fields except the one you want to delete and then delete the original file.

Sorry, not what you are looking for but unfortunately what you want (and I wouldn't mind seeing it also) doesn't exist.

Brian