Tidying up DB's

A simple one undoubtedly but i cant seem to ask the correct questions in help :)

A number of forms and hence fields have been deleted from various Databases, but they still show up as options to display in a view column.

How do i "tidy up" so that basically when a field is removed from the databse it is no longer an option  for display on a view column.

Example if i create a new view and select a column, attempt to Display a field, i get the option of

"untitled" "untitled2" etc as well as about 50 fields that were on forms that no longer exist.

Cheers

T
TweedyAsked:
Who is Participating?

[Product update] Infrastructure Analysis Tool is now available with Business Accounts.Learn More

x
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Sjef BosmanGroupware ConsultantCommented:
Basically: Compact your database, and remove fields from documents with older names
Sjef BosmanGroupware ConsultantCommented:
Or the other way round ;-) cleanup older documents and compact the database.
There have been numerous problems with fieldnames that no longer exist, all reported in several fora about Notes. They seem to have solved this issue in R6...
HemanthaKumarCommented:
Try this

1. Create full text index (In database properties)
2. After index is created, delete it (In database properties)
3. Now compact the database
4. The obsolete fields should not be visible now

~Hemanth

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Python 3 Fundamentals

This course will teach participants about installing and configuring Python, syntax, importing, statements, types, strings, booleans, files, lists, tuples, comprehensions, functions, and classes.

Sjef BosmanGroupware ConsultantCommented:
Multiple suggestions have also been made into the direction of full-text index creation and removal. My template does not have an FTI, and compacts as it is supposed to. I absolutely fail to see the connection between FTI and fieldnames, hence I have only one word for it: Balderdash!
qwaleteeCommented:
Hi sjef_bosman,
> I absolutely fail to see the connection between FTI and fieldnames, hence I
> have only one word for it: Balderdash!

I have read Sjef's comment, and I have only one word for it: Accurate!

Best regards,
qwaletee
TweedyAuthor Commented:
Thanks people, thought it would be an easy one :)
qwaleteeCommented:
Sjef,

You deserved poins on this one.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
Lotus IBM

From novice to tech pro — start learning today.