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 Datenbank - Kombinationsfelder verknüpfen

Empfohlene Antworten

Veröffentlicht

Hallo zusammen =)

Ich habe eine Frage bzgl. Access. Ich soll mich um eine Fahrkartenverwaltung kümmern und hänge gerade an einer Stelle fest.

Ich habe jetzt die Preisstufe (A, B, C, etc.) als Kombinationsfeld erstellt, soweit kein Problem. Es soll aber auch ein Feld "Art des Tickets" geben, wo man erneut via Kombinationsfeld den Inhalt auswählen soll. Nun müsste ich "Preisstufe" mit "Art des Tickets" verknüpfen.

Bsp.:

Wenn ich die Preisstufe A habe, soll bei Art 2er oder 4er Ticket auswählbar sein.

Wenn ich bei Preisstufe allerdings Zusatzticket auswähle, dann soll bei Art nichts zur Auswahl stehen.

Mein Problem liegt also in der Verknüpfung dieser beiden Kombinationsfelder.

Vielen Dank für eure Hilfe

Dann würd ich das so machen, das jedesmal wenn eine Preisstufe ausgewählt wird(gibt ein Event dafür), das zweite Kombinationsfeld angepasst wird.

Die entsprechende Property findest du heraus, wenn du in den Properties auf Datensatzherkunft gehst und F1 drückst(sollte Rowsource sein)

Also in etwa so:

Private Sub Preisstufe_AfterUpdate()

if(Preisstufe == 'A') Then

  ArtDesTickets.Rowsource = "1;2;3;4;5"

else if

(Preisstufe == 'B')

.

.

.

End if

End Sub

Bearbeitet von Thelvan

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.