Hello,
I am trying to add a lookup field for report layout selection page. I was asked not to show the lookup as a modal.
To do this, I have used the TableRelation and LookupPageId properties:
TableRelation = "Report Layout Selection"."Report ID";
LookupPageId = "Report Layout Selection";

However, when I select a record from the lookup, I am getting this error:

Apparently, the report layout selection table is empty. Can anyone suggest an alternative to this? Thanks.