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.

Access ´97 Problem

Empfohlene Antworten

Veröffentlicht

Hallo zusammen,

ich habe eine tolle Access-Aufgaben:

Aufgabestellung ist Zahlen aus einer Datenbank zu holen, die im Bericht dann ungefähr folgenden Aufbau haben.

Rg.Nummer S/H Betrag

4711 S 14,30

4711 S 23,80

4711 H 14,30

4711 H 23,80

Zwischensumme: 0,00

4712 H 123,30

4712 H 54,60

4712 S 123,30

Zwischensumme: 54,60

Nach jeder RG-Nummer soll nun eine Zwischensumme erzeugt werden, die sagt, ob bei dieser RG-Nummer S und H ausgeglichen sind.

Es handelt sich also eigentlich um eine einfache IF...THEN... ELSE-Abfrage. Wie kann ich denn dieses Problem unter Access lösen?

Danke im voraus

AHNUNG?

Ich will es mal versuchen (momentan hab ich zwar keine Zeit, die SQL-Abfrage exakt zu formulieren, aber vielleicht hilfts trotzdem):

SELECT RgNr FROM RgTabelle WHERE "H" LIKE "S";

In der Entwurfsansicht gibts eine Möglichkeit, daß Du in die Feldbezeichnung die Rechnung hineinschreibst (in diesem Fall jeweils Addition von S und H) und anschließend kannst Du wie oben beschrieben die Beträge vergleichen.

Vielleicht hab ich es etwas wirr beschrieben, aber ich denke, daß es so gehen sollte.

Gruß

etops

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.