If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Database Server Software > Pervasive.SQL > Zero Records in PCC but table Has Data

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 01-03-12, 10:00
Bill Slaughter Bill Slaughter is offline
Registered User
 
Join Date: Jan 2009
Posts: 14
Question Zero Records in PCC but table Has Data

We have a table that shows in PCC with 0 records but when acessed via Brieve there are over 2500 rows in the table. How can we fix this?
Reply With Quote
  #2 (permalink)  
Old 01-03-12, 12:22
mirtheil mirtheil is offline
Registered User
 
Join Date: Dec 2001
Posts: 1,026
Sounds like the DDF isn't pointing to the same data file. If you right click the table in the PCC and select Properties, it will show the Table Location. Make sure it's what you expect. To change it, you can issue an ALTER TABLE statement with USING and IN DICTIONARY clauses. The USING clause tells PSQL which data file to use and the IN DICTIONARY tells it to only affect the DDFs and not the data file too.
__________________
Mirtheil Software
Certified Pervasive Developer
Certified Pervasive Technician
Custom Btrieve/VB development
http://www.mirtheil.com
I do not answer questions by email. Please post on the forum.
Reply With Quote
Reply

Tags
zero records in pcc

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On