Solved

Memo File missing or Invalid in VFP 6.0

Posted on 2011-02-11
4
1,084 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 42

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

Industry Leaders: We Want Your Opinion!

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Have you ever wanted to restrict the users input in a textbox to numbers, and while doing that make sure that they can't 'cheat' by pasting in non-numeric text? Of course you can do that with code you write yourself but it's tedious and error-prone …
Not long ago I saw a question in the VB Script forum that I thought would not take much time. You can read that question (Question ID  (http://www.experts-exchange.com/Programming/Languages/Visual_Basic/VB_Script/Q_28455246.html)28455246) Here (http…
Get people started with the utilization of class modules. Class modules can be a powerful tool in Microsoft Access. They allow you to create self-contained objects that encapsulate functionality. They can easily hide the complexity of a process from…
This lesson covers basic error handling code in Microsoft Excel using VBA. This is the first lesson in a 3-part series that uses code to loop through an Excel spreadsheet in VBA and then fix errors, taking advantage of error handling code. This l…

733 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