Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Import Text file
Message
From
07/07/1999 06:08:39
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
 
To
07/07/1999 05:59:00
Narong Tohku
Knownet Co.,Ltd.
Bangkok, Thailand
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00238156
Message ID:
00238169
Views:
16
>Hi. Cetin
>My text file Delimited data by Tab..
>Sample Data.txt
>John 30 male
>Jenny 23 female
>
>I don't want use import wizard I want import from my application
>
>
>Narong
If you know the structure already :
lcFile = getfile("txt")
if !empty(lcFile)
  create cursor mycursor (name c(10), age i, gender c(10))
  append from (lcFile) delimited with tab
endif
Else first you should detect it. You could do that with lowlevel functions. But for now I assume you already know it.
Cetin
Çetin Basöz

The way to Go
Flutter - For mobile, web and desktop.
World's most advanced open source relational database.
.Net for foxheads - Blog (main)
FoxSharp - Blog (mirror)
Welcome to FoxyClasses

LinqPad - C#,VB,F#,SQL,eSQL ... scratchpad
Previous
Reply
Map
View

Click here to load this message in the networking platform