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
Previous
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