[Vtigercrm-developers] Right way to check result of ADO Insert/Update
Joe Bordes
joe at tsolucio.com
Sun Jul 13 16:33:54 GMT 2014
Looking at adodb library this structure seems to be used frequently:
if (!$rs->EOF)
and I think I have seen some of that in vtiger crm itself also.
El 13/07/14 18:22, Alan Lord (News) escribió:
> I know, i've been developing on vtiger for *years* but I've never
> really been sure how to check for a successful INSERT or UPDATE query?
>
> The ADO_recordset result object is empty and has EOF = 1.
>
> What is the "right" way to test for a successful save and what would
> the recordset look like if it had failed?
>
> Thanks
>
> Al
>
More information about the vtigercrm-developers
mailing list