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

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Microsoft Dynamics AX (Archived)

Creating a new record by using buttons in fields.

(0) ShareShare
ReportReport
Posted on by

I want to create a new record by using the buttons in fields without adding data source

*This post is locked for comments

I have the same question (0)
  • Verified answer
    Vilmos Kintera Profile Picture
    46,149 on at

    Override the clicked() method on your button. Declare a new table buffer as variable, populate the field, call validateWrite(), then insert() on your buffer.

  • Community Member Profile Picture
    on at

    I don't want the code Mr.Vilmos.

    I want it by creating.

  • Vilmos Kintera Profile Picture
    46,149 on at

    Sorry I do not understand your English, please phrase it better

  • Suggested answer
    Zain Bokhari Profile Picture
    3,208 Moderator on at

    You can use Command Button with command set to "New" in the properties if you want to add new record on the same form. (like simple list forms)

    Or you can use MenuItem Buttons if you want to open a new form to create a new record by setting the menuitem name in the property for the new record form.

    Your question wasn't clear enough so these are the only guesses left for us to make. Since your first reply to Vilmos rules out the solution through code.

  • Pravasti AK Profile Picture
    2,985 on at

    Hi,

    Please find the below link:

    http://stackoverflow.com/questions/18184298/how-to-create-a-new-record-in-form-datasource-from-x

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

Responsible AI policies

As AI tools become more common, we’re introducing a Responsible AI Use…

Neeraj Kumar – Community Spotlight

We are honored to recognize Neeraj Kumar as our Community Spotlight honoree for…

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

#1
Martin Dráb Profile Picture

Martin Dráb 4 Most Valuable Professional

#1
Priya_K Profile Picture

Priya_K 4

#3
MyDynamicsNAV Profile Picture

MyDynamicsNAV 2

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans