Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations wOOdy-Soft on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Visual FoxPro 6.0 crashes with APPEND BLANK together with Fox 2.6

Status
Not open for further replies.

filibuster

Programmer
Feb 25, 2001
29
DE
Hi,

we are runnung a colorful mixture of Fox 2.6 and Visual FoxPro 6.0. The problem with this cross plattform occurs when Visual FoxPro appends a record to a (shared) table.

APPEND BLANK

creates an "Internal inconsistency error", Visual FoxPro shuts down instantly, and damages the index files - Only a reorganization will help.

Note:
After crashing, VFP still has the table header locked, so that the table will only be accessible (write) after rebooting the workstation.

Any ideas ?

Thanks
Holger
 
Does this happen all the time or only on one specific table?

If one table have you tried reindexing it. Note: reindex from 2.6, reindexing 2.6 tables from VFP can cause some wierd results)

Do you have any indexes that would result in variable length results such as alltrim(somefield) if so get rid of them and replace them with something that always results in the same length.

Also consider using VFP local views with optimistic table locking to update your 2.6 tables, I do this in several applications to deal with legacy 2.6 tables and it works great.

 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top