<form method="post" action="CateCliente2.asp">
<table width="100%">

<tr><td width="50%">
<table >
<tr><td> CodProducto:  </td><td> <input type="text"
name="CodProducto"></td></tr>
<td><input type="submit" value="Go">
------------
CateCliente2.asp:
-----------
<% Option Explicit
Dim Obj_RS
Dim Obj_Conn
Dim SQL
CodProducto=Request.Form("CodProducto")
<%

SET Obj_Connein=Server.CreateObject("ADODB.Connection")
 SET Obj_RS=Server.CreateObject("ADODB.RecordSet")

Obj_Connein.Open "agroeintrag"

SQL="INSERT  INTO CateCliente (CodProducto)VALUES('"&CodProducto&"')"

Obj_RS.Open SQL,Obj_Connein,3,3

Obj_Connein.Execute SQL

%>

------
funktioniert ganz aehnlich mit anderen formularen ohne probleme.


Matthias




> > Schoenes neues jahr zusamm,
>
> > ich hab da folgendes:
> > ich mache eintraege in eine access bd ueber ein formular.
> > es gibt immer doppelten eintrag.
> > woran kann das liegen?
>
> > matthias
>
> Zeig mal Source Code.
>
> _______________________________________________
> Coffeehouse mailing list
> [EMAIL PROTECTED]
> http://www.glengamoi.com/mailman/listinfo/coffeehouse
>
_______________________________________________
Coffeehouse mailing list
[EMAIL PROTECTED]
http://www.glengamoi.com/mailman/listinfo/coffeehouse

Antwort per Email an