Here is my code:
The window will let me know that a rule is broken. But it does not say which rule, which field, nor does my beautifully crafted message pop up. How do I get the window to do two things: 1) Mark the field that is having the problem; and 2) show my message.
Thanks!Bill
On this line:
this.AddBrokenRuleByKey(this.partnum, "DuplicatePartNumber");
try this:
this.AddBrokenRuleByKey(PartsBOFieldNames.partnum, "DuplicatePartNumber");
Hope it helps.
Thanks, again, Ivan! You are a big help!Bill
I'm glad it is working, you are welcome.
Regarding the message, I think you should be passing a "Text values" key, not a "Messages key" from your Messaging Project. Is that the case?
Embarassing.
Hey...at least, I am learning!
Trent once almost made me wear a chicken suit on one of his classes. How is that for an embarassing situation?
Yeah...but let's lay the foundation as of why...Ivan had offered to all attendees that I buy the beer...or something along those lines...isn't that right, Ivan?
Hum... I was tempted to say that I didn't know what you were talking about, but then I realized I don't have administrative priviledges to delete posts on the forum.
Well, usually I don't wear any...