Skip to main content

Notifications

Community site session details

Community site session details

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

Form grid loss focus after add a view on OUTER JOIN

(0) ShareShare
ReportReport
Posted on by 237

Hi community, strange problem.

On the SalesTable form i have added a datasoure based on a View.

This view, has some data at InventTransId level, and i have linked to SalesLine in OUTERJOIN mode, join is made on SalesId and InventTransId

After adding datasource the sales line's grid loss focus and moves to the first line when i peform an operation on sales line.

If i remove the new DS the focus remain on selected line.

I don't know, there are some limitations using VIEW on a form?

Thanks a lot

  • Suggested answer
    GirishS Profile Picture
    27,825 Moderator on at
    RE: Form grid loss focus after add a view on OUTER JOIN

    Hi Diego,

    Its hard to find the issue. But you can solve this issue by calling positionToRecord method on datasource executeQuery method.

    Thanks,

    Girish S.

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

🌸 Community Spring Festival 2025 Challenge 🌸

WIN Power Platform Community Conference 2025 tickets!

Jonas ”Jones” Melgaard – Community Spotlight

We are honored to recognize Jonas "Jones" Melgaard as our April 2025…

Kudos to the March 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... 294,060 Super User 2025 Season 1

#2
Martin Dráb Profile Picture

Martin Dráb 232,858 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,158 Moderator

Leaderboard

Product updates

Dynamics 365 release plans