Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
NewID() skips numbers
Message
De
27/09/2001 08:16:49
 
 
À
26/09/2001 14:56:44
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00561176
Message ID:
00561358
Vues:
25
OK, I found the problem: it has to do with xCase. The view created by xCase inherited the table properties and in particular the newid() default value for the key field... removing this solved the problem.

Thanks for helping,

Thierry Labarre

>This is an other "Double hit on NewID()".
>
>I have a form based on cBizObjMaintenanceForm. The form is a very basic 'Administrative' form. When I add a new record, the ID is incremented by 2.
>
>- My view's primary key field is updatable
>- 'View Field Property Inheritance' is unchecked in SDT
>
>Any suggestion what might cause newid() to be called twice?
>
>I am using MM 6.1
>
>Thanks.

Did you actually open the view and check the properties of your key field?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform