Solved

Memo File missing or Invalid in VFP 6.0

Posted on 2011-02-11
4
1,076 Views
Last Modified: 2012-05-11
Hello Experts,

I'm working on VFP 6.0 , where I need to update records in the User.DBF file. All the DBF,FPT,.. files are located on our production server.

To update the records, I copied the User.DBF file on to my local machine and try to update from the Visual FoxPro IDE through COMMAND window.

I get this error MEMO FILE  C:\Data\User.fpt is missing or is  Invalid.

Where User.fpt file on server is huge nearly 2GB. And I was googling and found that we can copy the same DBF file and rename it to .FPT.But nothing working...

Production  Issue URGENT!

0
Comment
Question by:ASPDEV
4 Comments
 
LVL 3

Expert Comment

by:AndrewJen
ID: 34874739
You need to copy both user.dbf and user.fpt to your local machine in order for it to work. Both files are critical.
0
 
LVL 29

Assisted Solution

by:Olaf Doschke
Olaf Doschke earned 200 total points
ID: 34875204
Where did you read you could use dbf renamed as fpt? wrong assumption. Copy both files, there is no other way.

Bye, Olaf.
0
 
LVL 41

Accepted Solution

by:
pcelba earned 300 total points
ID: 34875318
I am also interested in the link which recommends to remane DBF to FPT.

The FPT size can be reduced by PACK command obviously. Copy both DBF and FPT to the C: drive and issue following commands:

USE C:\data\User EXCLUSIVE

PACK MEMO

It should reduce the size. The copy operation is done due to the safety reasons.
0
 

Author Closing Comment

by:ASPDEV
ID: 34946364
Thanks for Sharing info.
0

Featured Post

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

This article describes some techniques which will make your VBA or Visual Basic Classic code easier to understand and maintain, whether by you, your replacement, or another Experts-Exchange expert.
Deploying a Microsoft Access application in a Citrix environment is not difficult but takes a few steps. However, Citrix system people are often of little help, as they typically know next to nothing about Access. The script provided here will take …
As developers, we are not limited to the functions provided by the VBA language. In addition, we can call the functions that are part of the Windows operating system. These functions are part of the Windows API (Application Programming Interface). U…
Get people started with the process of using Access VBA to control Outlook using automation, Microsoft Access can control other applications. An example is the ability to programmatically talk to Microsoft Outlook. Using automation, an Access applic…

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