Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Append from - is it possible to add progress bar
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Divers
Thread ID:
00450093
Message ID:
00450538
Vues:
36
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

Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform