General information
Category:
Coding, syntax & commands
I just realized you don't need to have a limit for your files. So:
lnFileHandle = fopen( lcFileName)
lnFileSize = fseek( lnFileHandle, 0, 2)
fseek( lnFileHandle, 0)
lcText = fread( lnFileHandle, lnFileSize)
lnLines = occurs( chr(13), lcText)
This is VERY fast even with big files. Please note that you can use lcText to append to your dbf (using mline() function).
Vlad
>>I asked how big it "can" be, not "is". I mean: 10 bytes, 1000 bytes, 100000 bytes,...?
>
>Same answer, it can be 100 bytes and up until 1000000 bytes.
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only