Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics SL forum
Answered

Cursor manage

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.

  • 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

Quick Links

Anton Venter – Community Spotlight

Kudos to our October Community Star of the month!

Announcing Our 2024 Season 2 Super Users!

A new season of Super Users has arrived, and we are so grateful for the daily…

Dynamics 365 Community Newsletter - September 2024

Check out the latest community news

Leaderboard

#1
André Arnaud de Calavon Profile Picture

André Arnaud de Cal... 290,554 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,588 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans