Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Import text file to foxpro for dos
Message
From
14/10/1998 03:04:01
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
 
General information
Forum:
Visual FoxPro
Category:
FoxPro 2.x
Miscellaneous
Thread ID:
00146494
Message ID:
00146520
Views:
32
>I am maintaining this foxpro for dos application and I need to import a text file into this Foxpro for dos application and be able to read the data as a dbf for foxpro for dos.
>
>Anybody has any Ideas?
>
>Thank you in advance
Hi,
First create a data structure that would fit to your text data. Then :
Append from myfile.txt ;
  type SDF|DELIMITED [with TAB|BLANK|cDelimeter|CHARACTER cDelimiter]
Which one you would use depends on how text data is formatted. If none with then you would need to write a lowlevel parser.
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
Next
Reply
Map
View

Click here to load this message in the networking platform