Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics SL forum
Unanswered

problem with system message 6915

Posted on by Microsoft Employee

Hi,

I want to link a checkbox control from the shipment screen to customer screen.

I try to define this code in customer screen:

Private Sub Form1_Load()

Call VBA_SetAddr("bSoshipheader", bSoshipheader, nSoshipheader, LenB(bSoshipheader))

Call SqlCursorEx(Csr_bSoshipheader, NOLEVEL, "Csr_bSoshipheader", "bSoshipheader", "bSoshipheader")

End Sub

But, send me an error, system message 10051 and system message 6915.

Any Help ?

Thanks,

 

  • Barry Flynn Profile Picture
    Barry Flynn 3,090 on at
    Re: problem with system message 6915

    Two thoughts.

    Or maybe three.

    I believe that the SQLCursorEx statement has a problem.

    The final two parameters (tables selected & tables updated) should be "Soshipheader" rather than "bSoshipheader".

    But that is not likely to be causing the error.

    My only other thought is to wonder if you have saved customizations & closed the screen after entering that code in the Form Load event.

    If yoy simply add the controls, enter that code, then try to operate the screen it may be confused because thw SetAddr & SQLCursorEx have not yet been executed.

    But, as I type that, it really doesn't sound like a likely cause either.

    One other possibility.

    Is there an error in the FieldName property of the control you have added?

    Could you post that property?

    Barry

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,532 Super User 2024 Season 2

#2
Martin Dráb Profile Picture

Martin Dráb 228,501 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,148

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans