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
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00900540
Message ID:
00900554
Views:
19
>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.

Raj,

Use ADIR(ArrayName [, cFileSkeleton [, cAttribute [, nFlag]]]).

Pass the file path+name in the cFileSkeleton. Then in the array, the second elment would be the size of the file.

Hope this helps.

Dawa
Dawa Tsering


"Do not let any unwholesome talk come out of your mouths,
but only what is helpful for building others up according to their needs,
that it may benefit those who listen."

- Ephesians 4:29-30 NIV

Dare to Question -- Care to Answer

Time is like water in a sponge, as long as you are willing you can always squeeze some.

--Lu Xun, Father of Modern Chinese Literature

Previous
Next
Reply
Map
View

Click here to load this message in the networking platform