[Gambas-user] Conditional edit of a database table

willy at ...3474... willy at ...3474...
Sun Jun 19 13:21:37 CEST 2016


On 2016-06-18 02:54, Shane wrote:
> Are you looking for something like
> hConn.Find("clients", "firstname LIKE &1 OR lastname LIKE &1 OR phone
> like &1 OR street_name LIKE &1 OR suburb LIKE &1", "%" & s & "%")
> except with AND'S

No, not looking for like queries just a simple:
rResult = hConn.Edit("error", "id=&1 AND company=&2", iId, sCompany)

gbWilly




More information about the User mailing list