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] ein Formular - Verschiedene Ansichten

Empfohlene Antworten

Und schon wieder ich;

Wie kann ich mittels VBA folgendes realisieren?

Ich habe 2 Schaltflächen, die im Endeffekt das gleiche Formular öffnen sollen.

Schaltfläche 1 :

Sie soll das Formular so öffnen, daß nur neue Datensätze eingegeben werden können, also das keine Bearbeitung vorhandener Daten möglich ist.

Schaltfläche 2:

Sie soll genau das Gegenteil machen. Im Formular sollen nur die vorhandenen Datensätze zur Bearbeitung angezeigt werden, also es soll kein Anfügen möglich sein

Wie kann ich jetzt im VBA-Code bestimmen, wie die Formulare geöffnet werden sollen?

PS.: Ich hoffe, ich hab diemal nicht so'ne konfuse Fragestellung, wie bei meiner letzten Frage

Mit 2 Formularen ist es ja auch nicht das Problem, das bekomme ich ja auch hin.

Ich dachte halt nur, es geht auch mit einem einzigen Formular.

geht auch mit einem, ja.

' im hinzufügemodus öffnen

DoCmd.OpenForm blablabla, , , , acAdd

' im änderungsmodus öffnen

DoCmd.OpenForm blablabla

s'Amstel

Klasse und Dank an Amstelchen.

Genauso dachte ich mir das. :)

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.