Article View: pl.comp.lang.pascal
Article #92370tworzenie tabel dBase'a z delphi - problem
From: Flup
Date: Thu, 03 Jan 2008 09:32
Date: Thu, 03 Jan 2008 09:32
28 lines
1875 bytes
1875 bytes
Witam,
mam taką procedurkę tworzenia tabeli dBase w locie:
with TTable.Create(nil) do
begin
DatabaseName := 'c:\sciezka_do_tabel\';
TableName := 'FAKTURY.DBF';
TableType := ttDBase;
with FieldDefs do
begin
Add('NR_FAKT',ftInteger);
Add('NR_ZLEC',ftInteger);
(...)
end;
CreateTable;
end;
Procedura działa ok z jednym małym wyjątkiem. Na stworzonych tak
tabelach mogę pracować bez problemu jedynie programami, które sam
stworzę w środowisku, w którym piszę, czyli TurboDelphi Explorer.
Przy próbie otwarcia tabel jakimiś innymi programami dostaję komunikaty
typu: 'Field name missing', a w Openoffice Calc dostaję śmietnik w
danych. Proszę o informację w czym może leżeć problem.
--
flup
Technical Details
Message-ID:
<fliae6$igr$1@nemesis.news.tpi.pl>Path:
mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!opal.futuro.pl!news.internetia.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mailShow Full Headers
Complete Article Headers
Path: mbox-mo1.pugleaf.net!news-archive.icm.edu.pl!newsfeed.gazeta.pl!opal.futuro.pl!news.internetia.pl!newsfeed.tpinternet.pl!atlantis.news.tpi.pl!news.tpi.pl!not-for-mail From: Flup <harvester@flup.eu.org> Newsgroups: pl.comp.lang.pascal Subject: tworzenie tabel dBase'a z delphi - problem Date: Thu, 03 Jan 2008 10:32:14 +0100 Organization: tp.internet - http://www.tpi.pl/ Lines: 28 Message-ID: <fliae6$igr$1@nemesis.news.tpi.pl> NNTP-Posting-Host: fiy218.internetdsl.tpnet.pl Mime-Version: 1.0 X-Trace: nemesis.news.tpi.pl 1199353094 18971 83.13.232.218 (3 Jan 2008 09:38:14 GMT) X-Complaints-To: usenet@tpi.pl NNTP-Posting-Date: Thu, 3 Jan 2008 09:38:14 +0000 (UTC) User-Agent: Thunderbird 2.0.0.6 (Windows/20070728) Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit