Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics AX (Archived)

How to loop in form rows to get a value from unbound new StringEdit

Posted on by 570

Hello

I created a form with InventTable and in design i added  ItemId and ItemName and new string edit named QTY

first problem , when i insert a value in QTY , the value duplicated in all rows  like next pic

7652.form.png

second if first  this problem solved ,how to loop in form to get unbound field (qty)

Thank you in advance .

*This post is locked for comments

  • Verified answer
    nmaenpaa Profile Picture
    nmaenpaa 101,156 on at
    RE: How to loop in form rows to get a value from unbound new StringEdit

    You can't have such unbound fields in a grid. Instead you need to add a physical field or an edit method.

    Each of these fields is related to a different record in your form data source table, so you must add a new field or edit method in your data source table, or create a new related table and add it there.

  • Ismail Mohamed Profile Picture
    Ismail Mohamed 570 on at
    RE: How to loop in form rows to get a value from unbound new StringEdit

    i dont have edit method !

    i just need to get the value from new field , after i get it i will pass the value to command button to create a transfer order

  • Rustem Galiamov Profile Picture
    Rustem Galiamov 8,072 on at
    RE: How to loop in form rows to get a value from unbound new StringEdit

    Hi Ismail Mohamed!

    Can you provide the code of your edit method?

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,269 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,198 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans