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.

daten in eine Tabelle einlesen

Empfohlene Antworten

hi!

also ich habe folgendes problem :confused:

ich möchte in mittels vba daten von einem formular in eine tabelle einfügen

dabei tritt ein fehler auf:

Aktualisieren nicht möglich; Datenbank oder Objekt ist schreibgeschützt

falls der code weiterhilft, hier ein ausschnitt des codes:

Private Sub ActiveXStr2_Click()

Dim db As DAO.Database

Dim rs As DAO.Recordset

Set db = DBEngine.OpenDatabase("D:\projekt.mdb")

Set rs = db.OpenRecordset("Select * FROM tblKunden, tblkalender", dbOpenDynaset)

rs!kalender = Me.ActiveXStr2.Value

End Sub

bin für jede hilfe sehr dankbar ; )

greez sabine

Hast du schonmal geguckt, ob die Datei nicht wirklich schreibgeschützt ist ?

Kann ja immer mal passieren. Oder du fügst einen Wert über das VBA ein, was ein Primärschlüssel hat, also nicht nochmal eingefügt werden kann.

Bsp.: Datenbank

ID(PRI) Name

1 Karl

2 Paul

Wenn du jetzt versuchst in die Tabelle den Wert 1 reinzuschreiben, dann wird er dir ne Fehlermeldung ausgeben. Prob mal beides aus =)

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.