Page 1 of 1

DELETESQL exist?

PostPosted: Mon Aug 31, 2020 3:51 pm
by D.Fernandez
Hi, I want to delete a registro cumpliendo una condicion.

codcli := "2001"

csql := oCon:DELETEsql( "clientes" , , , {{ "numercli" , codcli }} )

Thanks.

Re: DELETESQL exist?

PostPosted: Tue Sep 01, 2020 11:35 am
by nageswaragunupudi
We did not provide a method for delete.
Please use:
Code: Select all  Expand view

oCn:Execute( "DELETE FROM `clientes` WHERE `numercli` = ?", { codcli } )
 

Re: DELETESQL exist?

PostPosted: Tue Sep 01, 2020 5:28 pm
by D.Fernandez
Gracias Rao, muy amable.

Saludos.