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.

Datei löschen in Access per VBA

Empfohlene Antworten

Veröffentlicht

Hallo,

brauche mal wieder eure Hilfe, stehe nämlich etwas auf dem Schlauch. Habe die Suchfunktion genutzt, aber nichts gefunden.

Wie kann ich Access mit Hilfe eines VBA-Moduls eine Datei, die lokal gespeichert ist, löschen?

Gruß

JayN

Hi JayN!

Benutze folgende Anweisung:

Kill "c:\test.TXT"

(Natürlich mußt Du das Laufwerk, den Pfad und den Dateinamen anpassen!)

(Beim Dateinamen kannst Du die Wildcards benutzen: ? bzw. *)

(Gefunden in der Access-F1-Hilfe, Suchbegriff "Datei löschen" / KILL-Anweisung)

Habs gerade in diesem Moment auch selber rausgefunden..... unter Access 97 hab ich es sofort gefunden unter 2000 stand ich auf dem Schlauch. Manchmal hat man auch ein riesiges Brett vorm Kopf.

Trotzdem vielen Dank, man kann sich wie (fast) immer auf das Forum verlassen.

Gruß

JayN

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.