Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
I do it this way, is there anything faster?
Message
From
20/12/2000 23:54:17
Dragan Nedeljkovich (Online)
Now officially retired
Zrenjanin, Serbia
 
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00455473
Message ID:
00455764
Views:
52
>>Then all you would have to add is the header, using low level file I/O. Fabricating the header of course requires that you know how many records will end up in the resulting table. And then, change the extension to Dbf.
>>
>>I've never done anything like the above - so it could all be complete tosh. Just an idea.
>
>Very interesting idea, Houston. Would be great, if somebody would implement it (no, not me :)) Dragan, are you lurking? :)

No, you won't get me this time :)
Last time I did this was in 1990, when we still didn't have the low level file functions, so I had to play around with GW Basic to get the thing done. It actually took creating an empty .dbf with the exact structure, then appending the records (I actually had a hosed chunk of a real .dbf file, whose header got hosed by a virus or disk failure), then storing the number of records into the header. It was lots of guesswork, because I didn't have the exact format of the header back then. Frankly, it's still feasible, it's just the CRLFs that need to be handled first - see my other message.

OK, I wrote the specs, who's coding :)

back to same old

the first online autobiography, unfinished by design
What, me reckless? I'm full of recks!
Balkans, eh? Count them.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform