Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Writing to DBF header
Message
From
10/03/2000 05:32:03
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
09/03/2000 16:40:00
J Chris Powell
Myers and Stauffer Lc
Kansas, United States
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00343875
Message ID:
00344080
Views:
27
>I would like to write a unique id to the 17th - 20th positions in the header of free DBF's in order to track them as they are processed by our financial analysts. We will lose the key if the structure is ever modified, but otherwise it seems to work ok after some experimenting. There could be a mix of Fox 2X files in there. Is this feasible? What other concerns should I be aware of?


Fox2x dbf doesn't use that positions at all (12-31 reserved). But I don't think it as feasible. You would at least need exclusive access to be able to write there. There are plenty of spaces that you could write this info. Even a dummy file or another table. There are changes in header from FP2x to VFP and no one knows if those positions would be free forever. OTOH if it has a memo file than memo header has much more unused space. But in that case too you should guarantee that operations like SQL copy and delete old, modi stru etc wouldn't be done at all.
I would choose one that I could freely access with lowlevel.
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