Validation Rules

Validation Rules

Old forum URL: forums.lhotka.net/forums/t/2515.aspx


Wal972 posted on Tuesday, March 13, 2007

Invalid rule method (instance methods of the target object not allowed

Can someone please explain what this means

Thanks

Ellie

JoeFallon1 replied on Tuesday, March 13, 2007

Rocky explains it in detail in his eBook, which everyone should have a copy of.

Bottom line - you have to make the method Shared if you call AddRules.

If you call AddInstanceRules then the method does not have to be shared.

Joe

 

Copyright (c) Marimer LLC