?
Solved

Memo File missing or Invalid in VFP 6.0

Posted on 2011-02-11
4
Medium Priority
?
1,102 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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 30

Assisted Solution

by:Olaf Doschke
Olaf Doschke earned 800 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 43

Accepted Solution

by:
pcelba earned 1200 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

Concerto's Cloud Advisory Services

Want to avoid the missteps to gaining all the benefits of the cloud? Learn more about the different assessment options from our Cloud Advisory team.

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 …
Over the years I have built up my own little library of code snippets that I refer to when programming or writing a script.  Many of these have come from the web or adaptations from snippets I find on the Web.  Periodically I add to them when I come…
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…
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…
Suggested Courses

718 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