Wrox Home  
Search P2P Archive for: Go

  Return to Index  

asp_ado_rds thread: get value Identity of DB at insert a register


Message #1 by esteban_torres@h... on Fri, 27 Apr 2001 23:52:41
I have tis code



MM_insertStr = "insert into dbo.XTelegamas (Name,address,...) values 

('Miguel','Calle grande 1234',..)"



Set MM_insertCmd = Server.CreateObject("ADODB.Command")

	MM_insertCmd.ActiveConnection = MM_xcorreo_STRING

	MM_insertCmd.CommandText = MM_insertStr

	MM_insertCmd.Execute



I need get te value the data base field ID autonumeric generated to insert 

command.


  Return to Index