Solved

Memo File missing or Invalid in VFP 6.0

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

Master Your Team's Linux and Cloud Stack

Come see why top tech companies like Mailchimp and Media Temple use Linux Academy to build their employee training programs.

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 …
With User Account Control (UAC) enabled in Windows 7, one needs to open an elevated Command Prompt in order to run scripts under administrative privileges. Although the elevated Command Prompt accomplishes the task, the question How to run as script…
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…
Show developers how to use a criteria form to limit the data that appears on an Access report. It is a common requirement that users can specify the criteria for a report at runtime. The easiest way to accomplish this is using a criteria form that a…

829 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