I knew there was with tables but wasn't sure with text files. Oh well, that was me hoping. Thank you for your help!
>Amanda,
>
>There is a 2Gb file size limit on VFP files. Perhaps its the same limit on any file that VFP can access? If your same code works on a smaller file then this must be the answer.
>
>
>
>>I tried it with a smaller file and it does work. I was hoping to keep the 2 GB file in one piece but I don't think that's possible.
>>
>>Thank you!
>>
>>
>>>XH=FOPEN("ststock.txt") && Read only Mode
>>>x=fseek(xh,0,2) && Zero bytes Relative to End of file
>>>
>>>
>>>
>>>I try is it work fine with 82Kb file
>>>
>>>Y too try it wit small file size
>>>
>>>But its clear that it work fine
"In three words I can sum up everything I've learned about life : it goes on." - R. Frost
Amanda Brown
Supervisor/Programmer