Autor Beitrag
Josef-B
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 293

2003 Server, Win7, Win8
Delphi 2010 Pro, Firebird 2.5
BeitragVerfasst: Di 03.11.09 18:30 
Hallo

habe heute unsere erste Station mit Windows 7 installiert.

Wir nutzen Firebird 2.0 und Delphi 2007.

Problem:

Das Datumsformat zeigt einen "/" anstelle eines Punktes und
als Währungszeichen kommt das Dollar-Zeichen.

In den Systemeinstellungen habe ich aber bei Windows 7
Deutschland, Punkt und Euro stehen.

Hat da jemand ne Idee?
mkinzler
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 4106
Erhaltene Danke: 13


Delphi 2010 Pro; Delphi.Prism 2011 pro
BeitragVerfasst: Mi 04.11.09 09:48 
Im Programm?

_________________
Markus Kinzler.
Josef-B Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 293

2003 Server, Win7, Win8
Delphi 2010 Pro, Firebird 2.5
BeitragVerfasst: Mi 04.11.09 11:16 
Im Programm denke ich mal nicht.

Denn unter WIN 2000, XP und Vista gehts ja problemlos.

Die Darstellung erfolgt halt am Bildschirm und beim
Drucken unter ReportBuilder nicht richtig.

Ich denke schon, dass es irgendwie an den Einstellungen im
Betriebssystem liegt
LCS
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic star
Beiträge: 1305
Erhaltene Danke: 1

WIN 7, WIN 8
Delphi XE5, Delphi XE, Delphi 2007
BeitragVerfasst: Mi 04.11.09 16:02 
Also ich kann dir zumindest sagen, dass ich das Problem unter Windows 7 und Firebird 2 nicht kenne. Bei mir ist das Datumsformat exakt wie in der Systemsteuerung eingestellt. Und ändert sich auch entsprechend wenn ich es umstelle.

Gruss
Lothar

_________________
Der BH ist für die Brust, der Plan ist für'n Ar...
Josef-B Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 293

2003 Server, Win7, Win8
Delphi 2010 Pro, Firebird 2.5
BeitragVerfasst: Mi 04.11.09 16:46 
Es muss doch irgendwie am Delphi liegen.

in Excel funktioniert die Währungsanzeige z.B.

Muss ich evtl. das Programm auch mit Windows 7 kompilieren?
Critter
ontopic starontopic starontopic starontopic starontopic starontopic starofftopic starofftopic star
Beiträge: 328
Erhaltene Danke: 3

Windows 7
Delphi 7 Pro.
BeitragVerfasst: Mi 04.11.09 16:58 
Hi,

du kannst ja mal gucken was z. B. im DateSeperator (Globale Vaiable) steht. Sollte in diesem etwas anderes als der Punkt stehen ohne das du es irgendwo so gesetzt hast, ist dies wirklich Recht merkwürdig. Sollte dieser Wert aber korrekt sein, dann machen deine Datumsdarstellenden Komponenten etwas falsch. Eventuell währe es auch interessant mal an zu gucken ob dir GetLocaleFormatSettings die richtigen Werte liefert.

Wie sieht ein String aus, den du einfach mit DateToStr(date) erzeugst? Ich kann mir nicht vorstellen, das das Problem an den Daten/der Datenbank liegt.

critter

_________________
Diejenigen, die grundlegende Freiheiten aufgeben, um ein wenig mehr vorrübergehende Sicherheit zu erkaufen, verdienen weder Freiheit noch Sicherheit.
(Benjamin Franklin;"The Papers of Benjamin Franklin", Vol. 6, Apr. 1, 1755, through Sep. 30, 1756)
rolli2
Hält's aus hier
Beiträge: 5



BeitragVerfasst: Mi 04.11.09 17:12 
Sprachleiste auf DE?

US Version ins deutsche gepatcht?
Josef-B Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 293

2003 Server, Win7, Win8
Delphi 2010 Pro, Firebird 2.5
BeitragVerfasst: Mi 04.11.09 17:53 
hi Rolli,

sag mal bitte genauer was du meinst.