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.

Frage zur Performance

Empfohlene Antworten

Hallo Zusammen!

Edit: Benutze Access2007

ich muss eine Oberfläche zur Pflege einer Datenbank schreiben. Die jeweiligen Komponenten der Oberfläche beziehe ich aus einer Datenbank. Also für die Checkboxen zb habe ich ein noch nicht initialisiertes Array


JCheckbox chb[];

weil ich noch nicht weiß wie groß das Array sein muss, da nur bestimmte Checkboxen angezeigt werden sollen (z. B. die in einem bestimmten Zeitraum liegen). Nun ist es aber total bescheuert jede Abfrage 2 mal durchzugehen. Einmal für die Anzahl der benötigten Checkboxen und einmal für die Ergebnisse. Für die jenigen die mit Count() kommen wollen... Es geht nicht da ich erst mal mit der nötigen Anzahl das Array deklarieren muss um dann die results in das Array zu schreiben...

chb = new Checkbox[anzahl]


chb[index] = Checkbox aus der Datenbank

Ich habe ungefähr 5 Panels bei denen das zu trifft und man merkt halt beim Programmstart extrem das es nicht grade perfomant ist :( Hat jemand eine Idee wie ich das besser lösen könnte :confused:

Bin für jede Hilfe dankbar!

MfG

Saban

zeig mal das SQL, das den status der checkboxen aus der datenbank abfrägt.

s'Amstel

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.