Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Append from - is it possible to add progress bar
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00450093
Message ID:
00450538
Views:
35
Hi Nadya,

Assuming one record per line in the text file, would this work as a replacement for GetFSize?
* ThisForm.GetFSize() Method"

	Parameter cFileName

	nBarMax 	  = thisform.pageframe1.pgUpdate.cntStatus.width -2
	Thisform.nBarIncr = occurs(chr(13),filetostr(cFileName))
	&& Calc and store increment value
	Return .t.
>Thanks, Ken. I like this idea. The only little problem with this approach, what it assumes fixed record lenght of the file. If File is comma-delimited (as it was in my case), records have different length.
>
kenweber
GCom2 Solutions
Microsoft Certified Professional

Previous
Next
Reply
Map
View

Click here to load this message in the networking platform