Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Copy to command
Message
 
 
À
11/03/1998 16:53:26
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00084025
Message ID:
00084058
Vues:
19
John,

Working with memo fields goes pretty fast too:

create cursor xTemp ( n1 n(10), c2 c(32) )
for i = 1 to 10000
insert into xTemp values (i, str(i))
endfor

i = seconds()
copy to xTemp.TXT type sdf
create cursor yTemp ( m1 m )
append blank
append memo m1 from xTemp.TXT
replace m1 with chrtran( m1, chr(10), "" )
copy memo m1 to yTemp.TXT
? seconds() - i

Only takes 15 seconds on a P2-300 machine.

>Is there a way to copy a table to a text file with only carriage returns? It keeps adding line feeds as well and make the file useless for the end result I need.
df (was a 10 time MVP)

df FoxPro website
FoxPro Wiki site online, editable knowledgebase
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform