Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Spot the difference.
Message
From
19/10/2000 14:12:38
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00431534
Message ID:
00431656
Views:
7
>>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
Ç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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform