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.
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.
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]
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??
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
You need to change the trigger from OnAssit to OnValidate. and then try again.
Yes, I added this property but nothing changed.
Did you try setting the below property to Special Terms?
ValidateTableRelation=false;
But I believe it will allow to enter any text.
André Arnaud de Cal... 291,391 Super User 2024 Season 2
Martin Dráb 230,445 Most Valuable Professional
nmaenpaa 101,156