General information
Category:
Databases,Tables, Views, Indexing and SQL syntax
>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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only