Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is it possible to find the size of the file(dbf and fpt)
Message
From
03/05/2004 18:53:03
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
03/05/2004 18:37:07
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00900540
Message ID:
00900543
Views:
20
>I have a project for ocr, after doing ocr i send all the page contents(charecters to a record menu datatype.)
>
>Nearly 3 million pages i have to send to the table, It might take atleast 6gb to 7 gb until finished.
>
>Is it possible to know the file size from foxpro.(for dbf file and fpt file both.)
>If the size is reaching to 2 GB then if an alerts comes then i can create another table OCRTable1 etc.
>
>table name is OCRTable.
>
>Thank you very much in advance.

fopen(),fseek() etc lowlevel functions are available if table is not in use. Otherwise you could use recsize(),header(),reccount() etc for the dbf and blocksize with file's size that you read using some simple math.
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
Reply
Map
View

Click here to load this message in the networking platform