Hi guys:
I want to capture the affected rows after using the command execute
Thanks
I want to capture the affected rows after using the command execute
 cSQL := " insert into detguiad (codusu, numero, articu, cantid, precio, total, subart, igv, totfac, mts) " Â
 cSQL += " select codusu, numero, articu, cantid, precio, total, subart, igv, totfac, mts from #ppru " Â
 Try
   oConnect:Execute( cSQL )
 Catch
   MsgInfo( "fallo en la insercion de detalle" )
 End tryThanks
fwh 17.12, harbour 3.2.0, pelles C, bcc7, Ms-Sql