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

Announcements

News and Announcements icon
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

Season of Sharing Community Challenge Winners!

Congratulations to our community stars!

Women in Power Builds Momentum

Expanding mentorship, skilling, and AI innovation

Congratulations to the June Top 10 Community Leaders

These are the community rock stars!

Leaderboard > 🔒一 Microsoft Dynamics AX (Archived)

Last 30 days Overall leaderboard

Featured topics

Product updates

Dynamics 365 release plans