Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Import from text file which have no any delimiter.
Message
 
 
To
18/11/1998 17:39:09
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00158525
Message ID:
00159350
Views:
30
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
Previous
Reply
Map
View

Click here to load this message in the networking platform