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.

Zugriffsproblem...

Empfohlene Antworten

Veröffentlicht

Ich will von Word aus auf eine Access-Datenbank zugreifen.

Ich habe folgenden Code:

Private Sub CommandButton1_Click()

Dim Datenbank As Database

Dim RS As Recordset

Dim Tabelle As TableDef


Set Datenbank = OpenDatabase("F:\PNS2000\hwdaten\Adressen.mdb", , True)

Set Tabelle = Datenbank.TableDefs("Lf")

Set RS = Tabelle.OpenRecordset

Das Script läuft bis zu der Zeile, die hier ganz unten steht, dann kommt 'ne Fehlermeldung: Laufzeitfehler '13': Typen unverträglich.

Wnn ich RS ohne "As Recordset" deklariere funktionierts, ich brauche nur später die ".Find"-Methode, und wenn ich einfach nur Dim RS schreibe, sacht er dann "Objekt unterstützt diese Eigenschaft oder Methode nicht"

Was kann ich tun?!?!

Hi, HolgerS!

Das Problem hatte ich auch einmal. Das Problem betrifft viele, die unter MS-Entwicklerumgebungen sauber programmieren wollen... ;)

Abhilfe könnte folgendes schaffen (bei mir hats geklappt):

Deklariere RS nicht als Recordset, sondern als Object!

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.