Crash or Error 1 ?
Frank Schima
frank-list2 at mindstarprods.com
Mon May 10 08:52:36 CDT 2004
On May 10, 2004, at 8:27 AM, Thierry Nauze wrote:
> The following routine, makes the waited work but it produces an error
> (=1).
>
> dim travail as string
> travail="INSERT INTO evenNoms (id,type,nom) VALUES
> ("+str(id)+",'"+type+"','"+nom+"' )"
> erreur=zeBase.sqlExecute(travail)
> msgbox str(erreur)
>
> Why?
That's not an error. SQLExecute returns the number of records effected.
So it looks like it worked because 1 record was INSERTed.
Best regards,
Frank
More information about the Valentina
mailing list