Smart questions
Smart answers
Smart people
Join Tek-Tips Forums
INTELLIGENT WORK FORUMS
FOR COMPUTER PROFESSIONALS

Member Login




Remember Me
Forgot Password?
Join Us!

Come Join Us!

Are you a
Computer / IT professional?
Join Tek-Tips now!
  • Talk With Other Members
  • Be Notified Of Responses
    To Your Posts
  • Keyword Search
  • One-Click Access To Your
    Favorite Forums
  • Automated Signatures
    On Your Posts
  • Best Of All, It's Free!

Join Tek-Tips
*Tek-Tips's functionality depends on members receiving e-mail. By joining you are opting in to receive e-mail.

Posting Guidelines

Promoting, selling, recruiting, coursework and thesis posting is forbidden.
Jobs from Indeed

Link To This Forum!

Partner Button
Add Stickiness To Your Site By Linking To This Professionally Managed Technical Forum.
Just copy and paste the
code below into your site.

timw7815 (Programmer) (OP)
25 Nov 02 9:01
Help please.....I have several old apps that were written (about 4-5 years ago) in Foxpro 2.5 on a Win 95 system.  I am currently on Win98 and when I try to edit the old programs, I get "MEMO file is Missing/Invalid" when I try to edit any of the screen sets in the projects.  I would love to upgrade these programs to a newer version, but I can't do anything with them now.  Any help would be greatly appreciated!  Tim
rgbean (Programmer)
25 Nov 02 10:02
Screens are made up of two files - an SCX and an SCT. These are equivalent to .DBF and .FPT (the memo file). Your message would indicate you are missing the .SCT file or it has been corrupted. Many virus in the past couple of years have attacked or removed .SCT files because they have the same extension as a Visual Basic Script file.

Since most of the information on a screen can be stored in the SCT half of the pair, without it, you are out of luck. You have a couple options :
1) Restore these from a good backup
2) Recreate them from the system documentation
3) If you have a .APP or .EXE that these screens are in, you could use a decompiler, like ReFox, and let it extract most of the information from the code file. Note: This assumes you have the legal right to do this, and that the .APP / .EXE hasn't been "branded" to prevent this.

Rick
Gaidi (MIS)
27 Feb 03 15:09
I am trying to upgrade my Foxpro2.6 Memo files (.fpt) to a database program called embark. The FPT files aer unreadable.I ned to get them into a ascii file or some way of deciphering, converting  or even seeing the fileas and link to the data. HELP.....
rgbean (Programmer)
27 Feb 03 16:19
First, you really should have started a new thread and not simply added on to this virtually unrelated topic.

That said, you normally don't access a memo (.FPT) file as a standalone entity. You should have a database (.DBF table) file with the same name. The .DBF has all the links to the locations of the data in the .FPT file. There are a number of ways to view this data - any version of FoxPro or VFP, Access, Quickview, and a number of freware / shareware viewers. To export the data, what program and technique you use will depend on what format "embark" wants it in.

Rick
Gaidi (MIS)
27 Feb 03 19:41
This is an enail from Embark:


Indeed, accessing the .FPT files directly does not work, because they are unformatted when opened in Windows app's and do not retain the links to the corresponding DBF records.
 
Essentially what EmbARK requires to be able to import the memo data is discreet categories or columns (credit line, inscription) and a link to the corresponding FPT record. If you can find a way to Export the data from the DBF table in total, You may easily select only the memo data since the other information has already been imported into EmbARK.

I do not know how this stuff works, But can someone help?  Is there an export feature in Foxpro 2.6
AnanthaP (IS/IT--Management)
28 Feb 03 6:23
Thread (1) timw7815 - missing memo files?
There a hack. If you change the first byte from to 03H, it will not ask for the memo file. You can open the data base. Then MODI STRU ....
This can be done with

DEBUG x.dbf
e cs:100
<Enter 03>
w
q

End of mail.
tesar (Programmer)
28 Feb 03 9:44
Timw1715
error is caused "too fast" computers
(in my case FoxPro 2.0 was enough step from 133- > 266 MHz).
Before editing screens, reports and menus is good
save its files to another directory.
(other possibility ended with "save as")
Then I slow down computer twice run clock.prg:

* clock on to safer editing memo files
set clock on
retu

If error occur,
either copy back and repeat editing,
or rename appropriate .tmp files - time twins.

For example editing screen files myscreen
you change files myscreen.scx and myscreen.sct
After "Memo is missing..."
you see only myscreen.scx.
Sort file by time and next in same time is file
(for example) 54891247.tmp
Rename it to myscreen.sct and editing succesfully ended.
(similarly myreport.frt and mymenu.mnt).

(most simply develop version move to slowly computer..)
    Tesar

Reply To This Thread

Posting in the Tek-Tips forums is a member-only feature.

Click Here to join Tek-Tips and talk with other members!

Close Box

Join Tek-Tips® Today!

Join your peers on the Internet's largest technical computer professional community.
It's easy to join and it's free.

Here's Why Members Love Tek-Tips Forums:

Register now while it's still free!

Already a member? Close this window and log in.

Join Us             Close