Solved

Pervasive control center will not allow views to be created

Posted on 2010-08-18
4
383 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

How to run any project with ease

Manage projects of all sizes how you want. Great for personal to-do lists, project milestones, team priorities and launch plans.
- Combine task lists, docs, spreadsheets, and chat in one
- View and edit from mobile/offline
- Cut down on emails

Join & Write a Comment

Introduction: Often, when running a query with joins, the results show up "duplicates", and often, those duplicates can be "eliminated" in the results using DISTINCT, for example. Using DISTINCT is simple: just add it after the SELECT keyword, an…
Introduction: I have seen many questions on EE and elsewhere, asking about how to find either gaps in lists of numbers (id field, usually) ranges of values or dates overlapping date ranges combined date ranges I thought it would be a good …
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…

758 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

Need Help in Real-Time?

Connect with top rated Experts

16 Experts available now in Live!

Get 1:1 Help Now