Skip to main content

Notifications

Announcements

No record found.

Small and medium business | Business Central, N...
Suggested answer

SetRecord On temporary Page

(1) ShareShare
ReportReport
Posted on by
Hi,
i have some problem to catch the right row on a temporary page.
When i write in input the "Item No." (0736S) field, the page remove that row, and i want to move to previous row (0001S) but this not happen.
I want highlighted line, like this:
Is it possible to do it automatically ?
 
I tried this part of code but it isn't work:
 
Rec: Record "4CO Store Manager" temporary
CopyRecTemp: Record "4CO Store Manager" temporary
 
Code 1
 
Code 2
CopyRecTemp.Copy(Rec, true);
 
                CopyRecTemp.SetRange("Item No.", gPrecItemNoTempRec);
 
                if CopyRecTemp.FindFirst() then begin
 
                    rec.get(CopyRecTemp."EntryNo.");
                    CurrPage.SetRecord(Rec);
                    CurrPage.Update(false);
                    // CurrPage.SetRecord(Rec);
                end
  • Suggested answer
    tanya07 Profile Picture
    tanya07 1,548 on at
    SetRecord On temporary Page
    Hello,
     
    Could you please brief more , like what is it you want to achieve here ?
     
    also , on which triggers the above codes written ?
     
    Thanks,
    TK

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

Congratulations 2024 Spotlight Honorees

Kudos to all of our 2024 community stars! 🎉

Meet the Top 10 leaders for December

Congratulations to our December super stars! 🥳

Start Your Super User Journey

Join the ranks of our community heros! 🦹

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 291,791 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 230,488 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans