Crash or Error 1 ?

Ruslan Zasukhin sunshine at public.kherson.ua
Mon May 10 16:29:39 CDT 2004


On 5/10/04 3:27 PM, "Thierry Nauze" <huancaya at wanadoo.fr> wrote:

> This routine provokes an crash after the update of the base where the
> field 'type' was added.
> zeBase.mEvenNoms.setBlank
> zeBase.mEvenNoms.id.value=id
> zeBase.mEvenNoms.nom.value = "nom"
> zeBase.mEvenNoms.type.value = "type"
> zeBase.mEvenNoms.AddRecord
> 
> The responsible line is:     zeBase.mEvenNoms.type.value = "type"

May be you have forget change of RB variable zeBase.mEvenNoms.type ?


> On the other hand, after the creation of a new database, it works
> correctly.
> 
> 
> 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?

-- 
Best regards,
Ruslan Zasukhin      [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com

To subscribe to the Valentina mail list go to:
http://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------



More information about the Valentina mailing list