General information
Category:
The Mere Mortals .NET Framework
Hi Kevin. I posted my entire code blcok yesterday and no place in my code am I setting any value to 0.
If I put "Me._trstatus.Entity.StatusTypeFK = 1" in the "Click" event of the mmNew button it will always save 1 to the database no matter what I select from the combobox. If I take that same exact code and put it in the "Save" event of the mmSave button it sets that value to 0 and fails on a foreign key exception.
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