>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