web
You’re offline. This is a read only version of the page.
close
Skip to main content

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Suggested Answer

I get an error when I try to choose multi option from lookup field.

(0) ShareShare
ReportReport
Posted on by 12

Hi

When I try to choose multi options from lookup fields I get this error.

This field is new, I have added it on this page.

  • Suggested answer
    Mohana Yadav Profile Picture
    61,260 Super User 2026 Season 2 on at

    Did you try setting the below property to Special Terms?

    ValidateTableRelation=false;

    But I believe it will allow to enter any text.

  • Lama Khaled Profile Picture
    12 on at

    Yes, I added this property but nothing changed.

  • Suggested answer
    Nitin Verma Profile Picture
    21,812 Moderator on at

    You need to change the trigger from OnAssit to OnValidate. and then try again.

  • Suggested answer
    YUN ZHU Profile Picture
    104,131 Super User 2026 Season 2 on at

    Hi, It looks like you're using a lookup trigger, so why keep the TableRelation property? I think it would be better to delete this property directly.

    More details: https://yzhums.com/5985/#toc2

    Hope this helps.

    Thanks.

    ZHU

  • Suggested answer
    Lama Khaled Profile Picture
    12 on at

    Thank you, Mr. Zhou

    [quote user="ZHU YUN"]

    Hi, It looks like you're using a lookup trigger, so why keep the TableRelation property? I think it would be better to delete this property directly.

    More details: https://yzhums.com/5985/#toc2

    Hope this helps.

    Thanks.

    ZHU

    [/quote]

    0743.png4111.png1731.png3107.png1805.png  

    The link that you have put in this comment contains very useful details.

    I didn't use the methods that you used in the link, I wrote a different code, but I benefited a lot from the idea of ​​using a codeunit.

    Now, I have a new problem when I want to print this multiple choice that has been selected, only one option is print, but if I choose more than one option, it remains empty in the report!!

    What should I do to print all the options selected from the lookup field on the report??

Under review

Thank you for your reply! To ensure a great experience for everyone, your content is awaiting approval by our Community Managers. Please check back later.

Helpful resources

Quick Links

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Leaderboard > Small and medium business | Business Central, NAV, RMS

#1
OussamaSabbouh Profile Picture

OussamaSabbouh 633 Super User 2026 Season 2

#2
YUN ZHU Profile Picture

YUN ZHU 419 Super User 2026 Season 2

#3
Teagen Boll Profile Picture

Teagen Boll 236 Super User 2026 Season 2

Last 30 days Overall leaderboard

Featured topics

Microsoft Training Manuals

Product updates

Dynamics 365 release plans