>Hi Every Body,
>
>I need some help in importing a text file in order to write a copy file, but I know this file should be copied first with Fox2x database then I will take it back in the vf table so I would like some to wirte me this type of code in detail and how ever to name the file but insure that to show which one is the text file and which one the vf file, or if some one know a query which can import any type of files so i can use it.
>
>thanks
If APPEND FROM or IMPORT isn't flexible enough, you can read the file with FileToStr() and parse with alines() (or use low-level file-functions: fopen(), fread(), fgets(), fclose()), get an entire line or a few bytes at a time, and write to your DBF.
HTH, Hilmar.
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)