Pervasive control center will not allow views to be created

I am using the Pervasive Control Center 10.3 (PCC) and I am trying to create and save views. However when I try to save it I get the error "The record has a key field containing a duplicate value (Btrieve error 5)". I have tried different statements I want to save as views and I get the same error.
However I can execute this statement with no errors.
RTsalAsked:
Who is Participating?
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.

mirtheilCommented:
Sounds like there's been a corruption in the database schema files (VIEW.DDF specifically).  
- Can you create views in other databases?  
- Do you have a VIEW.DDF in the same directory as the FILE.DDF for this database?
- As a test, have all users close the database in question, rename view.ddf to view.old, reconnect to the database, and try to create the views.  Does that fail?  
0

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
RTsalAuthor Commented:
Thanks that worked - sort of. I am now able to save a view but it does not show up under the views list. Where is it stored so that I can edit it
0
mirtheilCommented:
The views are stored in view.ddf but you cannot modify it directly.  
0
RTsalAuthor Commented:
How do I edit a view then or do I have to delete it and re-create it
0
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
Databases

From novice to tech pro — start learning today.

Question has a verified solution.

Are you are experiencing a similar issue? Get a personalized answer when you ask a related question.

Have a better answer? Share it in a comment.