Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics NAV (Archived)

Mouse Wheel going to insert a record

Posted on by 105

Hi guys, looking for a little help.

I've got 2 tables for my client data, and am able to display data from both using a form to table 1 and a subform to table 2.

Trouble is that the user can go into the subform's fields and use the mouse wheel to scroll off the current record and onto a blank line, as if it was inserting a new record.

Is there any way to prevent the mouse doing this on a field / subform?

thanks

*This post is locked for comments

  • Alex Chow Profile Picture
    Alex Chow 4,481 on at
    RE: Mouse Wheel going to insert a record

    Allow insert property will prevent users from inserting records into the form. Period. Not sure if you really want this to happen.

    To prevent users from inserting, you should set the DelayedInsert property.

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Mouse Wheel going to insert a record

    I agree InsertAllowed = no

    should stop this behavior

  • Suggested answer
    Neville Foyn Profile Picture
    Neville Foyn 4,320 on at
    RE: Mouse Wheel going to insert a record

    Not sure if i am perhaps oversimplifying however will the "InsertAllowed" property on the sub form perhaps resolve the issue?

    Cheers

    Neville

  • Mohana Yadav Profile Picture
    Mohana Yadav 59,139 Super User 2024 Season 2 on at
    RE: Mouse Wheel going to insert a record

    What are the primary key fields of subform table?

    Did you set DelayedInsert property of subform to yes?

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

December Spotlight Star - Muhammad Affan

Congratulations to a top community star!

Top 10 leaders for November!

Congratulations to our November super stars!

Tips for Writing Effective Suggested Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,235 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans