| [aspdedatabase] als [email protected] subscribed | http://www.aspgerman.com/archiv/aspdedatabase/ = Listenarchiv | Sie k�nnen sich unter folgender URL an- und abmelden: | http://www.aspgerman.com/aspgerman/listen/anmelden/aspdedatabase.asp-----Urspr�ngliche Nachricht-----
Von: Hofstetter Marc [mailto:[EMAIL PROTECTED]]
Gesendet: Freitag, 12. Oktober 2001 09:09
An: ASP Datenbankprogrammierung
Betreff: [aspdedatabase] Formularnamen anzeigenHallo Leute
Folgendes Problem:Auf einer ASP Seite habe ich zwei Formulare, die die gleiche SUBMIT Prozedur benutzen (ASP-Seite). Nun m�chte ich abfragen, welchens Formular der ASP Seite �bergeben wurde, damit, je nach Formular, ein Eintrag in der DB erstellt wird oder ein Eintrag nur mit einem Update versehen wird.
Weiss jemand ein L�sung?
Gruss Marc
PS: Sorry f�r den Disclaimer --> GL Entschluss!
Electrowatt Engineering AG has been transformed with retroactive effect as of January 1, 2001, in two separate legal entities: Electrowatt-Ekono AG and Electrowatt Infra AG. For more information please visit http://www.ewe.chThis email and any files transmitted with it are confidential, may be legally privileged and are intended solely for the use of the individual or entity to whom they are addressed. If you are not the intended recipient, you are hereby notified that any use, distribution, or reproduction of the contents of this email is strictly prohibited and may be unlawful. If you are not the intended recipient, please notify the sender by return email and destroy all copies of the original message including any attachments thereto.
Thank you
| [aspdedatabase] als [EMAIL PROTECTED] subscribed | http://www.aspgerman.com/archiv/aspdedatabase/ = Listenarchiv | Sie k�nnen sich unter folgender URL an- und abmelden: | http://www.aspgerman.com/aspgerman/listen/anmelden/aspdedatabase.asp
Title: Formularnamen anzeigen
Hallo Marc,
ich w�rde in jedes Formular ein Hiddenfeld einbauen und es
"new" bzw. "update" nennen.
Nach dem Submit fragst Du den Inhalt des Hiddenfeld
if request.form("hiddenfeld") = "new"
then
strSql ="insert
......."
else
strSql =
"update....."
end if
Gruss Thomas
- [aspdedatabase] AW: Formularnamen anzeigen Matthias Kerber
- [aspdedatabase] AW: Formularnamen anzeigen Mayer, Stefan
- Thomas Perk
