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

Announcements

No record found.

News and Announcements icon
Community site session details

Community site session details

Session Id :
Finance | Project Operations, Human Resources, ...
Suggested Answer

How should I remove the previous form record on child form?

(0) ShareShare
ReportReport
Posted on by 162
Hi ,
I have one form where I click the button and when I go to child form, the previous form's record comes in form caption. I can't figure out how to remove it. 
When I click on the menu item button on the Users form, the form shows the following caption which is coming from previous form record. Please help me in removing it.
 
//
 
 
 
  • Suggested answer
    GirishS Profile Picture
    27,845 Moderator on at
    Hi Harshal,
     
    Normally this field values will come from the title field properties set on the table.
    First try to remove the "title DataSource" on the design property and see if it works.
    Second try adding the code in the init method like "element.design().titleDataSource(false)".
    Third option will be setting the caption to empty in the init method "element.design.caption("")".
     
    Thanks,
    Girish S.
  • Harshal Jain Profile Picture
    162 on at
    Hey Girish,
    the Title datasource is already blank. I also tried 2nd and 3rd method suggested by you, but it did not give the desired result. I can still see the record from the previous form.
  • GirishS Profile Picture
    27,845 Moderator on at
    Do you set the title field1 and title field 2 property on the table? - Try removing that and check
    What form patter are you using?
     
    Thanks,
    Girish S.
  • Suggested answer
    Arunraj Rajasekar Profile Picture
    1,743 on at
    Hi Harshal,
     
    Please check the table joins on this form. There is chance that form is displaying the first record in the table since query is not properly executed.
     
  • Suggested answer
    CU27040940-16 Profile Picture
    2 on at
    Hi Harshal,
     
    Try to override parentTitleFields method on that datasource and return null.
     
    Example:-
     
    Public TitleFields parentTitleFields(common _record)
    {
          Return " ";
    }
     
    Hope this will work for you. It's working fine for me.
     
    Thanks

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

Leaderboard > Finance | Project Operations, Human Resources, AX, GP, SL

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 264 Super User 2026 Season 2

#2
Aayush Tiwari Profile Picture

Aayush Tiwari 219

#3
Subra Profile Picture

Subra 164 Super User 2026 Season 2

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans