Skip to main content

Notifications

Announcements

No record found.

Community site session details

Community site session details

Session Id :
Small and medium business | Business Central, N...
Answered

How to fetch data ?

(0) ShareShare
ReportReport
Posted on by 160

Hi

I want to copy data from customer (standard) Table t newly created table. I want to do this using ACTION button. please help me.

  • Verified answer
    happysingh0009 Profile Picture
    160 on at
    RE: How to fetch data ?

    Thanks. its working  :)

  • happysingh0009 Profile Picture
    160 on at
    RE: How to fetch data ?

    1. Please create a table and page (when we click on the page action button-> named update, it should pull the data of all customers and balances) to display all the customers and their balances, net change, and we can filter the balances based on the date filter.

    above is the exact statement i got from my professor.

  • Suggested answer
    JAngle Profile Picture
    63 on at
    RE: How to fetch data ?

    Is this a one time thing? Is it a recurring activity? If it’s the latter you will need to factor that in. Are all the fields the same? If not you can just declare each field you require in the below repeat until loop. Code like this would get you there:

    Customer.findset;

    repeat

     Newtable.fieldname := Customer.fieldname;

    Newtable.insert;

    until custome.next =0;

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

Daivat Vartak – Community Spotlight

We are honored to recognize Daivat Vartak as our March 2025 Community…

Announcing Our 2025 Season 1 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Kudos to the February Top 10 Community Stars!

Thanks for all your good work in the Community!

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 293,278 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,011 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156 Moderator

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans