Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can i read .DAT files from VFP ?
Message
De
24/04/2001 07:46:43
 
 
À
23/04/2001 16:47:49
Juan Carlos Gonzalez F.
Austin Reed Manufacturas - Arturo Calle
Pereira, Colombie
Information générale
Forum:
Visual FoxPro
Catégorie:
Base de données, Tables, Vues, Index et syntaxe SQL
Divers
Thread ID:
00498757
Message ID:
00498926
Vues:
11
>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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform