Yeah you can. If you want to open the card page, all you need is to
- create the PAGE object (variable say MyPage) you want to open
- Call the function SETRECORD like MyPage.SETRECORD(YOUR_REC_VAR)
where YOUR_REC_VAR variable is record of your page table.
- Call PAGE.RUN;
you will have the card page with filtered record.
Here I'm assuming that, you have already have a correct working document page, in which you have defined the Subpage Link.
If my answers, help you please verify my answers. Thanks
Best Regards
Zohaib Ahmed
Dynamics NAV ERP Technical Consultant.
please like / agree / verify my answer, if it was helpful for you. thanks.
problem is, that I can not set SubPageLink from Document Page to Sub Page because on Document Page I can not set Table relation.
So when accessing SubPage via Control from CurrPage of Document Page the record returned by the filtered Subpage is always the first record not the selected.
Answers
Can you share how you called card page from subpage ? Did you use RunObject Property or used PAGE.RUN / PAGE.RUNMODAL ?
- create the PAGE object (variable say MyPage) you want to open
- Call the function SETRECORD like MyPage.SETRECORD(YOUR_REC_VAR)
where YOUR_REC_VAR variable is record of your page table.
- Call PAGE.RUN;
you will have the card page with filtered record.
Here I'm assuming that, you have already have a correct working document page, in which you have defined the Subpage Link.
If my answers, help you please verify my answers. Thanks
Zohaib Ahmed
Dynamics NAV ERP Technical Consultant.
please like / agree / verify my answer, if it was helpful for you. thanks.
problem is, that I can not set SubPageLink from Document Page to Sub Page because on Document Page I can not set Table relation.
So when accessing SubPage via Control from CurrPage of Document Page the record returned by the filtered Subpage is always the first record not the selected.