Autor Beitrag
sunday_2
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 101


Delphi 7.0
BeitragVerfasst: Do 12.09.02 18:12 
Hi Leute,

ich habe ein Problem mit meinem Programm. Wenn ich in Delphi 4 mein Programm (Bundesligaverwaltung) compiliere und dieses über die exe.datei starte läuft das Programm einwandfrei. Erzeuge ich ein Setup-Programm mit Install Shield Express wird meine Tabelle im Hauptformular nicht aktuallisiert. Zur Erklärung:

Ich habe ein Hauptformular indem ich die Tabelle ErsteLiga.db über ein Query abfrage. Ein zweites Formular namens SpTagErsteLiga dient der Ergebniseingabe. Der Button Speichern im Formular SpTagErsteLiga dient dazu, die eingegebenen Ergebnisse in die Datenbank ErsteLigaT.db abzuspeichern, Punkte und Tore für die Tabelle ErsteLiga.db zu errechnen und in ihr zu speichern und zur Aktualisierung der Tabelle im Hauptformular durch die Befehle:
ausblenden Quelltext
1:
2:
Hauptformular.Query1.Aktive := false;
Hauptformular.Query1.Aktive := true;

Wie gesagt, nach Ausführung der Setup-Datei führt er diese Befehle nicht mehr aus.

Wäre für hilfe echt dankbar.

Gruß Sunday :?
Klabautermann
ontopic starontopic starontopic starontopic starontopic starhalf ontopic starofftopic starofftopic star
Veteran
Beiträge: 6366
Erhaltene Danke: 60

Windows 7, Ubuntu
Delphi 7 Prof.
BeitragVerfasst: Do 12.09.02 18:16 
Hallo,

wieso schließt und öffnest du das Query?
Rufe doch
Query1.Refresh;
auf. Ich kann nicht versprechen, das das dein Problem beseitigt, möglich währe es.

Gruß
Klabautermann
sunday_2 Threadstarter
ontopic starontopic starontopic starontopic starontopic starontopic starontopic starontopic star
Beiträge: 101


Delphi 7.0
BeitragVerfasst: Do 12.09.02 20:00 
Danke!!!

:lol: