look at the APPEND FROM command in the help
in your case it seems APPEND FROM MyText.txt TYPE SDF should do the trick
Arnon
>I want to compare a txt file with a DBF
>
>I create a new cursor
>
>CREATE CURSOR tmpProduit ;
> (Numero C(10), Produit C(30), Service C(2), Cout_Unit N(7))
>
>But how can I put the string in the cursor
>
>append from ?????
>
>my test.txt
>
>MR 0001000000 250ML HORSERADISH SAUCE PK 12 5.699152
>MR 0001087000 250ML HORSERADISH SAUCE PK 12 5.699152
>MR 0001100000 250ML TARTAR SAUCE PK12 6.756448
>MR 0001187000 250ML TARTAR SAUCE PK12 6.756448
>MR 0001300000 250ML SEAFOOD COCKTAIL PK 12 7.201520
>
>Pierre P
Précédent
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement