How to add a page parameter to a OQL query?

0
Good morning,  I am creating dashboard pages depicting some tables related to different companies ($Company). From a Listview of all the companies, clicking on one opens the dashboard page. Within the Dashboard I was able to create dataviews using the page parameter ($Company) and it works perfectly. I am unable to use the same parameter within an OQL query. Is there a way to enter the page parameter or the current object to ‘filter’ an OQL query? I have already tried using [%CurrentObject%] within the query but it is not compatible. The expression [%CurrentObject%] also remains incompatible in the functionality of the OQL module which allows new parameters to be created. I thank you in advance for a response,  Regards,  Nicola  
asked
0 answers