Information générale
Catégorie:
The Mere Mortals .NET Framework
Hi Kevin. I have multiple comboboxes that work fine. There's nothing going on with the relationship. When I delete the relationship a 0 is saved as the foreign key instead of the "Real" value of the foriegn key.
When I step through the code I noticed that
_TRRequestFK = 4
TRRequestFK = 4
As expected
And
_StatusTypeFK = 0
StatusTypeFK = 3 (Example FK)
Seems like it's trying to save the value of _StatusTypeFK to the database instead of the StatusTypeFK value.
If I assign TRRequestFK = 4 before I save the business object it will save that value back to the database when I call the save.
Thanks.
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