Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Import from text file which have no any delimiter.
Message
 
 
À
18/11/1998 17:39:09
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Divers
Thread ID:
00158525
Message ID:
00159350
Vues:
31
Jasper,

I'm sorry it doesn't look like specifying a decimal place helps, the sdf import must be looking for an explicit .

So you'll have to do this in two steps

create cursor temp1 ( n1 n(4), n2 n(4), n3 n(4) )
append from thesdf.txt
scan
insert into thetable values ( n1 / 10, n2 / 10, n3 / 10 )
endscan

>In the case of text file : '123123123'
> dbf : n(4,1), n(4,1), n(4,1)
>'1231','2312','3.0' is imported instead of '12.3','12.3',12.3'
>
>Pls help me. Thanks
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