on 2025 Jan 08 9:23 AM
I need to find and open my addon screen by double clicking the docEntry column in query manager. But I could not take the control of the matrix using SAPbouiCOM.Matrix OMatrix=frmQuerymanage.Items.Item("7").Specific I got an error as
"Click Event Failed: Unable to cast COM object of type 'System._ComObject' to interface type 'SAPbouiCOM.Matrix'. This operation failed because the Query Interface call on the COM component for the interface with IID '[85689291-F296-4A2E-8EB8-FF9189E23425}' " Same happens when I tried for Grid.
Kindly Suggest a Solution
Request clarification before answering.
try this:
SAPbouiCOM.Matrix OMatrix= (SAPbouiCOM.Matrix)frmQuerymanage.Items.Item("7").Specific;
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
| User | Count |
|---|---|
| 17 | |
| 8 | |
| 8 | |
| 6 | |
| 4 | |
| 4 | |
| 3 | |
| 2 | |
| 2 | |
| 2 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.