* ThisForm.ImportFile() Method Thisform.cntBar.width = 0 && Container object used as thermometer =thisform.getfsize(thisform.txtFileName.value) Append from (thisform.txtFileName.value) delimited with " for thisform.increment() * ThisForm.GetFSize() Method" Parameter cFileName Set deci to 17 fh = fopen(cFileName,10) && Open the file nEnd = FSEEK(fh, 0, 2) && Move pointer to EOF =fclose(fh) && Close the file fh = fopen(cFileName,10) && Open the file nRec = len(Fgets(fh)) && Get record size =fclose(fh) && Close the file nBarMax = thisform.pageframe1.pgUpdate.cntStatus.width -2 Thisform.nBarIncr = nBarMax/(nEnd/nRec) && Calc and store increment value Return .t. * ThisForm.Increment() Method Thisform.cntBar.width = thisform.cntBar.width + thisform.nBarIncr>Hi everyone,