Crash or Error 1 ?

Thierry Nauze huancaya at wanadoo.fr
Mon May 10 18:32:10 CDT 2004


Le 10 mai 04, à 18:17, Ruslan Zasukhin a écrit :

>>
>> 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

Then, how to modifiy a database ?

The opened database does not contain the field 'type'.
It was defined with
   		name = "evenNoms"
   		id = new vUMedium("id",kV_Unique)
   		nom = new vVarChar("nom",96,"French")

It must be updated for contain the field 'type'.
How to create this field ?

Best regards,
--
Thierry Nauze			Saint-Denis de la Réunion



More information about the Valentina mailing list