Information générale
Catégorie:
Codage, syntaxe et commandes
Sherry -
It looks like there were many responses, but I did not see
this approach :
append the text file into a VFP memo field
set memowidth to an appropriate number(The default is 50 - 8192 is the max)
memlines(fieldname)
will return the number of lines in the text file.
The value of memowidth will effect the result of memlines()
I recently set memowidth to 8192 to check memlines of an exported Lotus Notes text file. Lotus Notes "fields" are limited to 64k and not limited by specific number of characters. Unless the value of memowidth was set high enough, memlines() returned a number greater than the true number of lines.
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement