>>>yes you are right, so get back to the first question how could I know number of bytes read by FGETS?
>>
>>You cannot and even if you could the problem of the split will be the same.
>
>the split problem will not exist with FGETS because we are reading till crriage return found, so we are safe.
>but you are saying no way to know how if fgets read the whole 8192 bytes or less, no work around this??
m.lcGets = FGETS(.....)
? LEN(m.lcGets)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.