Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Can i read .DAT files from VFP ?
Message
From
24/04/2001 07:46:43
 
 
To
23/04/2001 16:47:49
Juan Carlos Gonzalez F.
Austin Reed Manufacturas - Arturo Calle
Pereira, Colombia
General information
Forum:
Visual FoxPro
Category:
Databases,Tables, Views, Indexing and SQL syntax
Miscellaneous
Thread ID:
00498757
Message ID:
00498926
Views:
13
>I have some Delphi Apps using old Pascal .DAT files, it´s possible to access or import that tables from VFP ? (it tried from ODBC but it didn´t work)

Hi Juan,

I don't know about Pascal .DAT files. But I have imported .dat files into VFP. If your .dat file is delimited by a comma. And you have a .dbf that has the correct structure. You can do the following. It works for us.

your_data = GETFILE("dat", "Your DAT file", "Select")
IF EMPTY(your_data)
RETURN .F.
ENDIF

SELECT your_table
APPEND FROM &your_data DELIMITED

HTH
Mike
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform