Hi Guys,
I actually managed to hammer out my app within a really short time, only to get stuck with validation. I have two peculiar scenarios:
1. I need to ensure a record is unique based on two or more fields.
2. I have an 'Master' object 'A' with a one to many relationship with 'B'. I need exactly two* objects of type 'B' for each unique type 'A'.
a) How do I ensure the above conditions are met?
*I have an enum with two values and an object of type 'B' is required for each of these values along with other fields.
b) Also, I would like to have a Save and Create New action (I wonder how DX guys missed this). How and where do I hook it up for all detail views?
c) Finally, as with every other windows app I want to put an About box via Help-> About. I cant seem to be able to put any action in the main menu. How do I do this?
Oh, and the Dirty flag doesn't seem to work. All detail views still ask to cancel even without touching anything!
Sample code would be really appreciated.
Regards,
Keith.