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 :
Finance | Project Operations, Human Resources, ...
Unanswered

Using a View in form and retaining position on F5

(0) ShareShare
ReportReport
Posted on by 27

Hi everyone,

I noticed a strange behaviour in Ax. If I try to press F5 on a View (not a table) the system is not able to retain the cursor position and goes back to the first record.

You can try it by yourself simply by opening a view (I'm using EcoResProductTranslations) in table browser and pressing F5. I get back to the first record doing that, while if I try on a real table the position is not lost.

This happen also if in a form you join something with a view.

That's really annoying. You can try to overcome the problem doing a findRecord after the executeQuery, but this is really bad on performance (I don't think that doing that this way the query is paged correctly)

Do you know if there is a solution to this problem? 

Thank you

I have the same question (0)
  • Crispin John Augustine Profile Picture
    37,081 on at

    FindRecord is definitely a fitting workaround.

    Have you tried DS.research(true) btw?

  • Ludovico M. Profile Picture
    27 on at

    Hi Crispin, thank you for your answer but I think you haven't understood correctly the question.

    I'm not calling anything by code, I'm just pressing F5 on a view. DS.research(true) will not work anyway.

    FindRecord maybe will, but it has major drawbacks on performance side.

  • Crispin John Augustine Profile Picture
    37,081 on at

    I did understand you correctly.

    By code, I meant, overriding the task method on the form, and for [tag:taskF5], instead of calling super(), you call DS.research(true), or findRecord().

  • Crispin John Augustine Profile Picture
    37,081 on at

    No need to worry about performance with findRecord(). Even if there is any impact, it will be negligible. You are (in addition to standard refresh) fetching a record just once more.

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 > Finance | Project Operations, Human Resources, AX, GP, SL

#1
Martin Dráb Profile Picture

Martin Dráb 646 Most Valuable Professional

#2
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 529 Super User 2025 Season 2

#3
Sohaib Cheema Profile Picture

Sohaib Cheema 285 User Group Leader

Last 30 days Overall leaderboard

Product updates

Dynamics 365 release plans