Solved

Pervasive control center will not allow views to be created

Posted on 2010-08-18
4
387 Views
Last Modified: 2012-05-10
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.
0
Comment
Question by:RTsal
  • 2
  • 2
4 Comments
 
LVL 18

Accepted Solution

by:
mirtheil earned 500 total points
ID: 33466566
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
 

Author Comment

by:RTsal
ID: 33467795
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
 
LVL 18

Expert Comment

by:mirtheil
ID: 33468088
The views are stored in view.ddf but you cannot modify it directly.  
0
 

Author Comment

by:RTsal
ID: 33468133
How do I edit a view then or do I have to delete it and re-create it
0

Featured Post

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

I guess that all of us know that caching the data usually increase the performance, but I worried if all of us are aware about the risk that caching the data provides and how to minimize this.  That’s the reason why I decided to write this short art…
Creating and Managing Databases with phpMyAdmin in cPanel.
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

829 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question