Crash or Error 1 ?

Ruslan Zasukhin sunshine at public.kherson.ua
Mon May 10 17:17:57 CDT 2004


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

>> May be you have forget change of RB variable zeBase.mEvenNoms.type ?
> 
> 
> In the boEvenNoms class, there is the property :
> type as vString

> The boEvenNoms method is :
> name = "evenNoms"
> id = new vUMedium("id",kV_Unique)
> nom = new vVarChar("nom",96,"French")
> type= new vString("type",4,"ASCII")


ok

> FOR THE UPDATE :
> In a method, the update (to add the field) :
> ...
> champ= new vField
> champ=zeBase.mEvenNoms.CreateField("type",
> kv_TypeString,4,"ASCII")

Hmm, you try create second field with name "type" ?
This is mistake

> in next method,
> ...
> curseur.StringField("type").value="xxx"
> res=curseur.Update()
> works fine
> 
> And in the next method,
> ...
> zeBase.mEvenNoms.type.value="type"
> crash !
> 
> 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