I want to capture the affected rows after using the command execute
Code: Select all
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 try