Skip to main content



No record found.

Microsoft Dynamics AX forum
Suggested answer

Form grid loss focus after add a view on OUTER JOIN

Posted on by 207

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
    GirishS 27,803 Super User 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.


    Girish S.

Helpful resources

Quick Links

Replay now available! Dynamics 365 Community Call (CRM Edition)

Catch up on the first D365 Community Call held on 7/10

Community Spotlight of the Month

Kudos to Saurav Dhyani!

Congratulations to the June Top 10 community leaders!

These stars go above and beyond . . .


André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 287,696 Super User

Martin Dráb Profile Picture

Martin Dráb 225,490 Super User

nmaenpaa Profile Picture

nmaenpaa 101,148


Featured topics

Product updates

Dynamics 365 release plans