OQL Query Parameter from GUID

0
I’ve created an OQL Query Dataset and pass a GUID to it using the community commons getGUID, however when I use the parameter in the OQL query it has a type mismatch ? Any ideas? This is Mendix version 9.2      
asked
2 answers
0

Hi Quinton,

You can do the following:

add the Land_Holder object as parameter and in the OQL query specify:

NCM.Land_Holder.ID = $LandHolder.

It seems that you don’t need to GUID for this query.

Cheers,

Jeffrey

answered
0

Hi Jeffrey,

This works now, many thanks. My error was post processing of the result list which took a while to realise. This is now a really powerful approach as it allows me to create multi-table joins for a shopping basket concept.

Really appreciate your expertise and thanks for taking the time – moving forward on my project at pace now :0)

answered