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.

[VBA AccXP] Variablen übergeben

Empfohlene Antworten

Hallo,

is vielleicht ne ganz simple Sache aber ich weiß die Lösung leider nicht, dazu fehlen mir einfach ein paar Grundlagen VBA.

Also: Ich habe eine Variable in dem Code des ersten Formulars, die heißt maxzahl. So, und diese Variable würde ich nun gerne auch in einem zweiten Formular verwenden, natürlich mit dem originalen Inhalt. Wie also mache ich die Variable PUBLIC? , meine definitionen funzen da nicht so ganz.

THX!

Du kannst sie doch als OpenArgs übergeben, wenn Du das zweite Formular öffnest...

Ansonsten kannst Du auf die Variable zugreifen, wenn Du das erste Formular vielleicht versteckst, anstatt es zu schließen.


a = Form_Formular1.Variable

Gruß

JayN

hey gute Idee so werd ichs notfalls auch sicher machen, aber es muss doch auch so gehen... oder ist die Eigenschaft PUBLIC nur im eigenen Formular gültig???

wär ja ziemlich sinnlos, dann noch private zu haben, das is doch dann egal fast... weiß jemand was es mit dem PUBLIC auf sich hat und wie man das zwischen 2 Formularen nutzen kann????

Greetz und ein Hoch auf die Inflation der Satzzeichen!!!!!!!!!!!!!!!!!!!! :D

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.