🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: pl.comp.lang.delphi.bazy-danych
Article #70524

ADO + Excel

#70524
From: Mariusz Pełka
Date: Wed, 01 Aug 2007 13:22
26 lines
1584 bytes
Witam.

Za pomocą ADO łączę się z plikiem Excela, który ma jedną istotną dla mnie 
kolumnę np.: Kolumna1. W kolumnie tej mam dane liczbowe, które przeplatają się z 
tekstem:

Kolumna1
---------
122
23
344a
56
cccc
qq
t33
902

Gdy pobieram dane z tej kolumny, np. za pomocą zapytania, to otrzymuję puste 
pola tam gdzie jest liczba wraz z tekstem. Tam gdzie jest tylko liczba otrzymuję 
dane tak jak trzeba. Nie pomaga również konwertowanie kolumny w Excelu ani za 
pomocą zapytania SQL.

Czy ktoś wie jak to obejść przy użyciu ADO?

--
Pozdrawiam, Mariusz Pełka 
Technical Details
Message-ID: <f8q1j5$jrs$1@nemesis.news.tpi.pl>
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail

Show Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!news.nask.pl!news.nask.org.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail
From: Mariusz Pełka <mmario5@wp.pl>
Newsgroups: pl.comp.lang.delphi.bazy-danych
Subject: ADO + Excel
Date: Wed, 1 Aug 2007 15:22:24 +0200
Organization: tp.internet - http://www.tpi.pl/
Lines: 27
Message-ID: <f8q1j5$jrs$1@nemesis.news.tpi.pl>
NNTP-Posting-Host: mail.archidoc.pl
Mime-Version: 1.0
X-Trace: nemesis.news.tpi.pl 1185974693 20348 195.205.241.1 (1 Aug 2007 13:24:53 GMT)
X-Complaints-To: usenet@tpi.pl
NNTP-Posting-Date: Wed, 1 Aug 2007 13:24:53 +0000 (UTC)
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3138
X-Antivirus: avast! (VPS 000740-2, 2007-05-16), Outbound message
X-Antivirus-Status: Clean
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit