Hi.. this question has been answered before but I get a different error! In my form class I tried to override modified method of dfCustomerId but the second argument gives me error: The 'QuotationTable' argument of the 'methodStr' compile-time function does not specify a known class. I tried to put the name of form class instead and still getting the same error!
The dfCustomerId_modified is public and written under runDialog method directly
Thanks for your response Mr. Martin... I'm a little bit confused about a couple of things:
1- I created a class in the form class but I tried many times to create an instance but it always gives me error.. making the new class public doesn't help either.
2- The third argument of registerOverrideMethod represents what? it should be overrideObject but which object will be overriden? the dialog instance?
methodStr() checks if such a class and method exist and you indeed don't have the method in a class called QuotationTable. I also don't think that you can define the overriding method in a form data source. Instead, create a class for your method, create an instance in runDialog() and pass the instance as the third parameter of registerOverrideMethod().