General information
Category:
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.
Previous
Next
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only