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 - VBA Problem

Empfohlene Antworten

Moin, ich verzweifle fast...

Ich hab hier eine Datenbank die aus Access97 Zeiten stammt. Hab sie nach 2k konvertiert, soweit alles super.

Es gibt ein Hauptformular, das ein Unterformular enthält. Beim verlassen des Hauptformulars hin zum Unterformular wird eine Funktion aufgerufen, die folgendes macht:

DoCmd.RunCommand acCmdSaveRecord

Damit soll ein Datensatz in einer Stammdaten-Tabelle angelegt werden, da das Unterformular auf eine andere Tabelle verweist, die aber Keys mit der Tabelle des Hauptformulars hat. Unter 97 klappt das auch wunderbar, der Datensatz wird in die Stammdaten geschrieben und das Unterformular funzt.

Bei 2k allerdings speichert er mir den Datensatz gar nicht in die Tabelle, somit funktioniert das Unterformular auch nicht richtig.

Hat jemand von euch eine Idee??? Ich lauf hier gleich Amok.

Eine Fehlermeldung wäre nicht schlecht.

Warum speichert er den Datensatz nicht. (PK-Problem?, irgendwas indiziert?, sonstige Fehler in einem Feld)

Zumindest bei AccessXP macht der Befehl bei mir genau was er soll.(Datensatz speichern)

Archiv

Dieses Thema wurde archiviert und kann nicht mehr beantwortet werden.

Konto

Navigation

Suchen

Suchen

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.