J
|
Jane 5/28/2007 |
Hi,
where seller is your actual field name. Sub AfterEdit() str = "select * from SellerTable where seller='" & Session("seller")& "'" Set rsTemp = server.CreateObject("ADODB.Recordset") rsTemp.open str, dbConnection Response.Redirect "SellerTable_edit.asp?editid1=" & rsTemp("PrimaryKey") rsTemp.Close : set rsTemp = Nothing End Sub
|
R
|
ryn004 author 5/28/2007 |
Thanks but I didn't want to go about it that way. What if I leave the "add new" link by choosing "Allow to add new values on the fly" and that will create a new id and name in the seller table. |