Shurik
08-28-02, 15:50
| I need to get the Autonumber of the newly inserted data. I am using second SQL to get the max(Autonumber) SQL="SELECT (MAX(T_ID) as ID from TradeTbl)" Set rs = Server.CreateObject("ADODB.Recordset") rs.Open SQL, MyConn, 3 Reponse.write returns me empty data (not null). What is going on? Do I need to set up a new connection (tried that) or what can I do? I would really appreciate your help |