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)

How to create a form without adding data source.

(0) ShareShare
ReportReport
Posted on by

Hi

Can we create a form without adding data source.

If can, can you elaborate the method please.

thank you

*This post is locked for comments

I have the same question (0)
  • Sohaib Cheema Profile Picture
    49,438 User Group Leader on at

    You are free to create Forms without DataSources.

    The form(s) typically has controls and DataSources. It is not must for Control to be bound with DataSources.

    What you are trying to do? and what difficulty you are facing while doing?

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi,

                 Yes you can create Forms without adding data sources. Data sourace is added to the form when you want to display the data on the form.

    To Create Form , In the AOT right click forms and create new form. ( from template ) or you can do it also from scratch.

    Best Regards

    Shah

  • Suggested answer
    Community Member Profile Picture
    on at

    Hi Ravi Teja Tanguturi,

    Can you please explain us, which type of form your going to create.

    you can create a form without Adding Data source. but if you want to save the data in a table. you need to write the code in the clicked method in that form.

    This is my past Experience, please try by this way.


    This is just a suggestion.

    Thanks,

  • Kamesh021 Profile Picture
    165 on at

    Hi Ravi,

    Without adding datasource to a form even if you write data in form control's then next time when you open the form the form will look fresh it will not display any data since there is no table to store data so that form can display it.  So if you please try to elaborate your requirements further we can help you.

    Thanks and regards

    Kamesh K

  • Mea_ Profile Picture
    60,284 on at

    @Kamesh021

    If you will look at Dialog you will see that it is a form without data source and it's probably most used form in AX. So it perfectly makes sense in some cases.

    @Ravi Teja Tanguturi

    It is hard to help you without understanding what are you trying to achieve.

  • Community Member Profile Picture
    on at

    Step 1: If that is Dialog form then you need to find Query begin run Dialog form, it is in class caller dialod form.   i need more info !

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