stephankuhnert@gmx.de (kuhni) wrote in message news:<88afb50f.0408020400.39f6d7f0@posting.google. com>...[color=blue]
> Hi everybody,
>
> I am totally desperate because I cannot solve a really simple problem:
> I have a specific text-file which I want to import into an existing
> database. The problem is that the columns have different names so I
> receive an error message when importing via the "Get External
> Data"-Wizard.
> The second problem is that this text file includes several rows
> without any relevant data, only symbols like "-----" in the various
> columns. I cannot change this data (and I cannot import it directly
> via a SQL-statement) because it is extracted from a backend system and
> I have no influence on those reports.
>
> Here is an example of my import text file and the target database:
> sample text file:
> ---- ---- ----
> C1 C2 C3
> ---- ---- ----
> 1234 12A2 00B2
> 22B2 12A4 00C4
>
> sample target database:
> Columns:
> Col1 Col2 Col3
> 1234 12A2 00B2
> 22B2 12A4 00C4
>
> It really looks so easy, but I don't know how to do it.
>
> THANKS in advance for your support!
>
> Best wishes,
> Stephan Kuhnert[/color]
Take a look at
http://www.delphipages.com/result.cfm?ID=4743
with this utility you should be able to import datas in any database.
Tazio.