Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
NewID() skips numbers
Message
From
27/09/2001 08:16:49
 
 
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00561176
Message ID:
00561358
Views:
24
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?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform