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.

Empfohlene Antworten

Veröffentlicht

moin Leutz ich muss euch nochmal Nerven

also des mit der Query funktioniert jetzt Gott sei dank jetzt habe ich nur das Problem das er meckert es wären nicht genug parameter übergeben wenn ich mir die Werte der Query jetzt zur Laufzeit anschau habe ich festgesetllt, dass bei Nachname und Schicht die passenden Werte drinstehen und bei Name steht drin "Personal" und nicht der Vorname hat einer von euch ne idee wovon des kommt?

Das hier ist die Query

insert into Personal (Nachname, Name, Schicht) values (" & Nachname & ", " & Vorname & ", " & Schicht & ")"

wenn ich die Variablen durch die Werte ersetze dann geht es

Gruß Malte

hi,

woher bekommst du denn die werte?

hast du ein webinterface oder was machst du sonst?

mfg korea1

  • Autor

moin nochmal

tmpQuery = "insert into Personal (Nachname, Vorname, Schicht) values (" & Nachname & ", " & Vorname & ", " & Schicht & ");"

dbsPersonal.Execute (tmpQuery)

wenn ich das ausführe müsste es doch theoretisch funktionieren?? wenn ich die SQL anweisung in Access als abfrage mit werten ausführe geht es so aber nicht ich bekomme die Fehlermeldung das drei Parameter erwartet werden und zu wenige übergeben werden.

Gruß LoF

Hallo!

Wenn Du Strings einfügen möchtest, dann musst Du noch Hochkommas verwenden:

-------------------------------

tmpQuery = "insert into Personal (Nachname, Vorname, Schicht) values ('" & Nachname & "',' " & Vorname & "', '" & Schicht & "');"

dbsPersonal.Execute tmpQuery

---------------------------------

Gruß

Erstelle ein Konto oder melde dich an, um einen Kommentar zu schreiben.

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.