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.

Popup Formular für Tabelle mit 2 Primärschlüsseln

Empfohlene Antworten

hallo,

hier folgendes, meine ASP Seite zeigt eine Tabelle wo jede Zeile 2 Buttons hat, der eine zum Ändern eines Datensatzes, der andere zum Löschen des ausgewählten Datensatzes, beim klicken auf ein Button, wird mir ein Popup Fenster angezeigt mit einer Eingabemaske, als Referenz für das Öffnen des Popup Fensters für den ausgewählten Datensatz benutze ich den Primary Key, auf diese Weise:

window.open('change.asp?Produkt_id=' + Produkt_id + '&form_action=chg','', 'width=400 height=400')

Wie wäre der Fall, wenn die Tabelle 2 Primary Keys hat?, könnte mir jemand bitte einen Tip geben?

window.open('change.asp?Produkt_id=' + Produkt_id + '&form_action=chg','', 'width=400 height=400')

Wie wäre der Fall, wenn die Tabelle 2 Primary Keys hat?, könnte mir jemand bitte einen Tip geben?

Genau gleich, nur das du eben beide Variablen brauchst.

window.open('change.asp?Produkt_id=' + Produkt_id + '&Variable2 + '=' + Variable2 + ' & form_action=chg','', 'width=400 height=400')

In der SQL-Anweisung mußt du in der WHERE-Anweisung dann beide Variablem mit AND verknüpfen.

[....] WHERE Product_id=" & Request("Produkt_id") & " AND Variable2=" & Request("Produkt_id") & ";"

(Ob die Syntax so genau richtig ist, weiß ich nicht, da ich kein ASP kann ;) )

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.