Very often when you are developing a database you create some fields and afterwards you realize you don't need that field. It is true also when you copy an old form, even though you previously deleted unnecessary fields. When creating a view you will see that the names of those fields are still in the field selection of the programmer panel. How can we erase those bothering fields?
I already tried to copy the DB or to use the load compact mydatabase.nsf -C option…..unsuccessfuly
Temujin
Software/Hardware used:
ASKED:
October 6, 2008 5:58 PM
UPDATED:
February 15, 2011 4:48 PM
I’m assuming you’re asking about brooklynegg’s comment regarding an agent to delete the field…
Since you know about doing design work, I’ll just tell you that the important command is
FIELD myfieldname := @DeleteField
Create an agent to execute that against all docs, or selected docs that you select.
Josenoel: You seem to want two things — keep the fields in records and stop them from appearing in the list of available fields. However, you cannot have both. If you want the field to be removed from the list of fields that can be chosen within Designer, you must remove the field from all forms and subforms, and run an agent that affects every record that has the field that uses @Deletefield to remove it. These are your only options.
Are you trying to describe a way to have a list of “favorite fields” that would be the default list so the common fields are generally available, but keep the other fields in a full list? That would be kind of cool, but it definitely is not a current option. Maybe when Designer is offered within Eclipse someone will write a widget that will provide that function.
If this is offbase, please further clarify your problem so we can address it.
What type of Compact should be used?
Copy style -c worked – usused fields are gone!