I have run into this error message again, and this time cannot find the root of it. I have spent countless hours trying to track it down, and now need a little bit of guidance if possible.
I have gotten this before, and it has always been a case of two inherited BOs having the same cutom property and having to move that custom property up to the base BO. Or it has been a case of wrongly accessing the base BO property or inherited BO property at a level it shouldn't be. Well, I can't see that's the case with my current situation.
I have it narrowed down to the following recreation:
- There are two BOs, BO2 which inherits from the base BO1.
- I have form1 which only houses a BO2 instance.
- I have from2 which only houses a grid that connects to a BBS which uses BO1 as its source.
- If I open form1, then open form2, the from loads and the grid populates but as soon as I go off that form or do anything else, I get the "object does not match target type" error.
Now, I have searched for any commonly named properties. I have actually commented out every custom property at the base level (BO1) and still get the problem. I only have two custom properties on BO2, which are only accessed through BO2.
So my question is basically this: is there any other circumstance in which this error may occur that hasn't already been covered in this ticket? I've lost a few days on this error and now just have no idea of where to go with it. Please offer any help you can, it will be much appreciated. Thanks!!