Autor Beitrag
saxe66
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 104



BeitragVerfasst: Mi 09.06.04 07:33 
Habe folgendes Problem:

Eine vorliegende Access-Datenbank hat ein Datumsfeld im Langformat Datum+Zeit
(Bsp.: '01.01.2004 12:10:00').
Wie kann ich über Delphi dieses Feld in genau diesem Format beschreiben, wobei ich schon mit der SQLTimeStamp-Funktion rumgespielt habe, jedoch ohne zählbaren Erfolg.

Mein Hauptproblem ist das Auffinden eines bestimmten Datums über Locate, vielleicht gibt es da auch einen Tipp. Die Datenbank wird eigentlich über C++ beschrieben, ich muss jedoch auch über Delphi Abfragen und Schreiboperationen machen.

Für den Zugriff auf Access nutze ich generell die Kadao-Komponente.

Vielen Dank,
Jens
smiegel
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 992
Erhaltene Danke: 1

WIN 7
D7 Prof., C#, RAD XE Prof.
BeitragVerfasst: Mi 09.06.04 08:12 
Hallo,

schau Dir einmal DateTimeToStr an.

_________________
Gruß Smiegel
Ich weiß, daß ich nichts weiß, aber ich weiß mehr als die, die nicht wissen, daß sie nichts wissen. (Sokrates)