Autor Beitrag
Melcho
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 145

XP

BeitragVerfasst: Mo 26.07.04 06:36 
Morgen ich habe ein Problem,
Ich habe ein Fenster das ruf ich auf alles ist gut aber wenn ich schließe und dann erneut aufruf kommt der Fehler:

Format '%p' ungültig oder nicht kompatibe mit Argument

weiß einer vielleicht wo da der Fehler sein könnte ?

Danke

_________________
PCP saved my life
highhatcompy
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 190

Win2000,Win XP,Linux(SuSE9.2)
Delphi 5 Prof.
BeitragVerfasst: Mo 26.07.04 07:02 
Hallo,
was soll das Fenster den machen? Formatierst Du darin Text ?

HHC

_________________
Bist Du ein Programmierer, so wirst Du gegen Computer, Hardwarehersteller und Anwender verlieren. (Quelle: Murphy's Computer-Gesetz)
Melcho Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 145

XP

BeitragVerfasst: Mo 26.07.04 07:11 
Ne mach ich nicht ,
ich glaub das hat was mit dem Datenbankzugriff zu tun.
Ich lasse in dem Fenster Datensätze anzeigen man kann auch neue einfügen und löschen.

Hast ne ahnung woran das liegt ? :roll:

_________________
PCP saved my life
highhatcompy
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 190

Win2000,Win XP,Linux(SuSE9.2)
Delphi 5 Prof.
BeitragVerfasst: Mo 26.07.04 07:19 
Wie gibst du die Daten aus der Datenbank aus?
z.B. so ..Datenbankindex.AsString; (rein schematisch!)

HHC

_________________
Bist Du ein Programmierer, so wirst Du gegen Computer, Hardwarehersteller und Anwender verlieren. (Quelle: Murphy's Computer-Gesetz)
Melcho Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 145

XP

BeitragVerfasst: Mo 26.07.04 07:25 
Ja ich geb sie so aus wie du schon gesagt hast,


ausblenden Delphi-Quelltext
1:
Ecustomer_id.Text:=FKundendispo.qudates.FieldByName('id').Asstring;					



Moderiert von user profile iconPeter Lustig: Code- durch Delphi-Tags ersetzt.

_________________
PCP saved my life
highhatcompy
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 190

Win2000,Win XP,Linux(SuSE9.2)
Delphi 5 Prof.
BeitragVerfasst: Mo 26.07.04 08:46 
Hallo,
kann ja eigentlich nur daran liegen was du auslesen willst, versuche es doch mal als integer auszulesen (ist doch ne Zahl oder?).
Oder, schließ du die Datenbank wenn das Fenster zu ist, wenn nein kann es sein das es da zu Problemen kommen kann.

HHC

_________________
Bist Du ein Programmierer, so wirst Du gegen Computer, Hardwarehersteller und Anwender verlieren. (Quelle: Murphy's Computer-Gesetz)
Melcho Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 145

XP

BeitragVerfasst: Mo 26.07.04 09:06 
JOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOOO

Es lag an

ausblenden Delphi-Quelltext
1:
2:
3:
4:
procedure TForm1.FormClose(Sender: TObject; var Action: TCloseAction);
begin
 // Action := caFree;
end;


Jetzt wo ich es aus kommentiert habe Funzt es !

Yoah

Danke euch !
:D :wink: :D


Moderiert von user profile iconPeter Lustig: Code- durch Delphi-Tags ersetzt.

_________________
PCP saved my life
Christian S.
ontopic starontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic star
Beiträge: 20451
Erhaltene Danke: 2264

Win 10
C# (VS 2019)
BeitragVerfasst: Mo 26.07.04 09:12 
Hallo!

Es wäre prima, wenn Du demnächst die Delphi-Tags verwenden könntest! Durch die Delphi-Tags wird der Code mit Syntax-Highlighting angezeigt und ist somit sehr viel übersichtlicher. :-)

Viele Dank!
Peter

_________________
Zwei Worte werden Dir im Leben viele Türen öffnen - "ziehen" und "drücken".
Melcho Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starofftopic star
Beiträge: 145

XP

BeitragVerfasst: Mo 26.07.04 09:51 
Ok Peter wird gemacht !

:flehan:

:flehan:

:flehan:

_________________
PCP saved my life