Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Flowfield

Posted on by Microsoft Employee

Hi

How to automatically get data to field. So I have table that have relations with other table. One table field filled by choosing number from list and other field called name should automatically fill by that number meaning.

Ty for help

*This post is locked for comments

  • Suggested answer
    Mohana Yadav Profile Picture
    Mohana Yadav 59,139 Super User 2024 Season 2 on at
    RE: Flowfield

    Pleas use Get if you are using Primary key instead of setrange and findfirst.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Flowfield

    Finally I solved my problem.  Thanks for help everyone.

  • Verified answer
    Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Flowfield

    This is because you have deleted the field no. 20 which is Vendor Name and you are trying to save the changes with the synchronize schema option "Now - with validation". If you are using this table for testing purposes just save the changes with the synchronize schema option "Force".

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Flowfield

    2100.aaa.PNG

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Flowfield

    if u have an access to the dynamics learning portal u can find the tutorial in the developer role courses ,

    by the following name:

    81067AE: Development Environment Introduction in Microsoft Dynamics NAV 2017 and Dynamics 365

  • Verified answer
    CDsilva Profile Picture
    CDsilva 4,184 on at
    RE: Flowfield

    Hi Kazys,

    You can code using SETRANGE function.

    assume table1 and table2

    Here table1.no is the no selected from the list

    So on the OnValidate trigger of the no add the below code

    table2.RESET;

    table2.SETRANGE(no,table1.no);

    IF table2.FINDFIRST THEN

    Name:= table2.name;

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Flowfield

    Hi,

    Please send a screenshot of the error you got.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Flowfield

    Is there any tutorial or something with flowfield becaus i get error when im trying to use it?

  • Suggested answer
    Mohana Yadav Profile Picture
    Mohana Yadav 59,139 Super User 2024 Season 2 on at
    RE: Flowfield

    you can use flowfield or write code in onvalidate trigger of number field.

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,280 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans