How to know the number of affected rows using the command Ex
![Post Post](./styles/prosilver/imageset/icon_post_target.gif)
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
- Code: Select all Expand view
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
Thanks