Skip to main content

Notifications

Microsoft Dynamics SL (Archived)

Cursor manage

(0) ShareShare
ReportReport
Posted on by Microsoft Employee

Hi.

I have been trying to make a customization on requisitions, I tried to call an sql instruction (delete) within on_insert method, but, it throws me a system message 10065: "Application RQ11000 has exceeded the limit of 50 cursors. Please decrease the number of cursors in use by this application.".

I'm using c3 as cursor and I do not know why this is happening.

*This post is locked for comments

  • Ram Peru Profile Picture
    Ram Peru 2,830 on at
    RE: Cursor manage

    Thank you David:)

  • Community Member Profile Picture
    Community Member Microsoft Employee on at
    RE: Cursor manage

    Thanks Perumalsamy R

    It seems to work good.

    Regards.

  • Verified answer
    Ram Peru Profile Picture
    Ram Peru 2,830 on at
    RE: Cursor manage

    Hello David,

    It seems like you have missed to free/deallocate the cursors using SqlFree API function in your code. Normally Dynamics SL allows only 50 open/allocated cursors. System will throw this error when cursor allocation has exceeded the limit of 50 cursor. you should deallocate the cursor c3 from your code.

    Hope this helps.

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

News and Announcements

Announcing Category Subscriptions!

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 Verified Answers

Best practices for providing successful forum answers ✍️

Leaderboard

#1
André Arnaud de Calavon Profile Picture

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,370 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans