Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Business Rules and Default Values don't work!?
Message
From
24/05/2005 00:49:04
Dave Porter
Medical Systematics, Inc.
Merced, California, United States
 
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01016948
Message ID:
01016968
Views:
14
protected override void HookSetDefaultValues(DataRow dataRow)
		{
			if (this.DefaultValues != null)
>I don't see where you set this.DefaultValues, so I'm guessing this.DefaultValues == null. Can you set a breakpoint on the if statement and make sure that .DefaultValues isn't an undefined value?
>

on the if statement
you guessed right this.DefaultValues is an undefined value. Is that the same as null?
Where would I assign a value to this.DefaultValues OR am I testing the wrong thing?

>When you say the broken rules are never reported, how are you saving your business >object? I mean, what's the line of code that saves it?

Would you believe I don't know... what is the line of code in the Jump Start that saves the business object? Where would/should it be?

>I don't see anything right away that looks wrong with the rule, if you put a >breakpoint in CheckForDuplicateICDACode does it get there?

Yes the CheckForDuplicateICDACode code gets executed...

Thanks for your help, sorry I am so clueless... Dave
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform