Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to recover data from fpt file
Message
De
30/08/2003 08:47:57
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
29/08/2003 11:05:57
Information générale
Forum:
Visual FoxPro
Catégorie:
FoxPro 2.x
Divers
Thread ID:
00824567
Message ID:
00824756
Vues:
26
>Hi All,
>I have an old Foxpro 2.6 app on a disk and am trying to get some data from it.
>It looks like a complete small app but has no .pjx or .fpc file.
>My problem is a table that looks as if someone opened and SAVED in Lotus. I have a .cdx and .fpt file. Is there a way to get the data from the .fpt file and connect it to the appropriate record?
>
>No backup can be found.
>
>Thanks
>Peter

Peter,
Getting the data from fpt is the easy part. Hard part is in associating them with correct records and as I understand the records are missing.

A dbf with memo fields keep 'block pointers' in memo field position. ie:

table : name c(20), memofield1 m, somefield d, memofield2 m
might have data as :

John Smith, 102, 03/02/2003, 105

102 and 105 are block pointers (browsing shows Memo, hexeditors show 102 and 105 in plain string padded left to 10 bytes - fox2x).

An fpt has memo blocksize in its header and default is 64 (hex 40). 102 then means offsett 102*64.

Without having block pointers I don't know of a way to associate the fpt data with real records.

Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform