Zum Inhalt springen
View in the app

A better way to browse. Learn more.

Fachinformatiker.de

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

[Delphi] Summenübertrag bei mehrseitigem Bericht

Empfohlene Antworten

Veröffentlicht

Mahlzeit!

Ich mal wieder... ;)

Folgendes Problem:

Ich habe einen Bericht, bei dem ein Summenübertrag immer dann ausgeführt werden soll wenn noch eine weitere Seite folgt.

Frage: Wie bewerkstellige ich es im Code, dass eine eventuelle Nachfolgeseite erkannt und dann entsprechend der Übertrag ausgegeben wird?

Hier der momentane Code, der natuerlich so jetzt noch nicht richtig ist.

procedure TReportAuftragsUeberSummen.QRBandUebertragFussBeforePrint(Sender: TQRCustomBand; var PrintBand: Boolean);

begin

PrintBand := bPrintSumme;

if PrintBand then

begin

QRLabUebertragFuss := TQRLabel(FindComponent('QRLabUebertragFuss'));

QRLabUebertragFuss.Caption := GMS('MC_UEBERTRAG');

end;

end;

Schon jetzt ein Danke fuer eure Tipps! :)

Bye,

Saga

Du kannst ein PageFooterBand benutzen in das du die Summe schreibst. Die summierst du im Event DetailsBandBefore (oder After) Print in einer Variable in der Unit. Über die QR Options kannst du einstellen, dass auf der letzten Seite kein PageFooter gedruckt wird. Und ans Ende setzt du ein Summary Band, das wird nach den Details gedruckt. Im PageFooter OnBeforePrint schreibst du in ein TQRLabel immer die Summe die du summiert hast, am Ende im SummaryBand dasselbe, diesmal als Endsumme.

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.