Autor Beitrag
Jagg
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 635



BeitragVerfasst: Mo 06.10.03 16:32 
Hallo Leute !

Wie importiere ich eine TXT-Datei in eine DBase-Datenbank und umgekehrt (exportieren aus Datenbank)
Gibt es einen Befehl "import" oder "export" ???

Jagg !
neojones
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1206
Erhaltene Danke: 1



BeitragVerfasst: Di 07.10.03 09:19 
Wahlweise mit einem BatchMove oder zu Fuß.

Was für eine TXT-Datei ist es denn? CSV?

_________________
Ha! Es compiliert! Wir können ausliefern!
Jagg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 635



BeitragVerfasst: Di 07.10.03 11:39 
was ist denn CSV ???
und
was ist den BatchMove ????
ist das zum imort/export ?
hwb
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 91

Win98 SE, Win2000
D5 Prof
BeitragVerfasst: Di 07.10.03 12:10 
Delphihilfe -> TBatchmove eingeben.

Google -> CSVFORMAT eingeben.

Eine Textdatei muß doch auch die einzelnen Felder einer Tabelle trennen,
z. B. mit Semikolon -> CSV, Komma oder fester Länge.
Ein neuer Datensatz ist dann eine neue Zeile.
Mindestens beim Import ist es unbedingt notwendig zu wissen wie die Textdatei aussieht.

Hans
Jagg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 635



BeitragVerfasst: Di 07.10.03 13:35 
Also,ich habe in der Liste stehen :
Martin;
Stefan;
Peter;
...diese sollen jetzt in einer DBase Datenbank importiert werden.
Wie mache ich das jetzt,wie du gesagt hast mit CSV ???
oder geht das jetzt auch mit TBatchMove ???

Jagg !
neojones
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1206
Erhaltene Danke: 1



BeitragVerfasst: Di 07.10.03 13:51 
Steht in jeder Liste nur ein Datensatz?

Bei CSV trennt das Semikolon die Felder und ein CR/LF die Datensätze.

_________________
Ha! Es compiliert! Wir können ausliefern!
Jagg Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 635



BeitragVerfasst: Di 07.10.03 13:58 
1 . Datensatz (Martin;)
2 . Datensatz (Stefan;)
3 . Datensatz (Peter;)

...und wie geht das jetzt ?
Kannst du mir einen Code dafür geben ?
neojones
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Beiträge: 1206
Erhaltene Danke: 1



BeitragVerfasst: Di 07.10.03 14:39 
Zum Thema Exportieren: www.delphi-forum.de/...sc&highlight=csv

Zum Thema Importieren: www.delphi-forum.de/viewtopic.php?t=10640

Viele Grüße,

Matthias

_________________
Ha! Es compiliert! Wir können ausliefern!