Information générale
Catégorie:
The Mere Mortals Framework
>We've run into this early and often...
>
>1st check - Make sure you're view's primary key field is marked as updateable. For some reason, it's default setting is not updateable.
>
>2nd check - If you're running Stonefield, make sure you aren't pulling in default values from your table into views ("View field property inheritance" is the name of the setting). Otherwise, the view will cause NewID() to fire automatically, and then the framework will fire it again when it's trying to populate the PK field. I think Kevin fixed that piece of code in the framework to check the value in the field first to make sure it's blank before running NewID() again, but that all depends on which version of Mere Mortals you have.
>
>---J
>
Didn't you dub this phenomenom as Double Dipping? I thinks it's an official Mere Mortals term now...
Précédent
Suivant
Répondre
Voir le fil de ce thread
Voir le fil de ce thread à partir de ce message seulement
Voir tous les messages de ce thread
Voir tous les messages de ce thread à partir de ce message seulement