Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Spot the difference.
Message
De
20/10/2000 03:42:15
Cetin Basoz
Engineerica Inc.
Izmir, Turquie
 
 
À
19/10/2000 14:34:37
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00431534
Message ID:
00431983
Vues:
23
>>>>Wish it was Mike. But a free table header also has backlink space (empty). header() math would be better IMHO.
>>>
>>>Dang, you're right. I could have sworn that the header wouldn't get changed until you put the table into a DBC. With this not being the case, your method looks to be a good one. If HEADER() isn't a 2.6 function (I've long since forgotten), and if we're needing to determine this under 2.6 as well, reading the first byte would also give file type. The file types are listed under "Table File Structure" in the help file.
>>
>>Sergey Berezniker brought a new easier point (sys(2029)).
>>And you brought that it could be needed by fox2x apps which doesn't have sys(2029). Header() exists in FP2.x. I'm sure because I used it in my repair utility years ago. Unfortunately you can't read the first byte if it's open elsewhere.
>>Cetin
>I think the reason Fox2x doesn't have a SYS(2029) is because that version doesn't see VFP tables and legitimate Fox tables (because of the header). My point is one way to determine in Fox2x that it's a VFP table is to try and USE it. You'll get an error message.

Dore,
AFAIK there is no distinctive error message in fox2x that would say reason was a compatibility problem or corruption.
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
Répondre
Fil
Voir

Click here to load this message in the networking platform