[Vtigercrm-developers] Right way to check result of ADO Insert/Update

Joe Bordes joe at tsolucio.com
Sun Jul 13 16:28:04 GMT 2014


Try it:  send in an erroneous insert or update and see what you get back 
and act accordingly  :-)

Joe
TSolucio


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