Skip to main content

Notifications

Announcements

No record found.

Microsoft Dynamics SL (Archived)

problem with system message 6915

(0) ShareShare
ReportReport
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,

 

*This post is locked for comments

  • 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

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

#2
Martin Dráb Profile Picture

Martin Dráb 230,492 Most Valuable Professional

#3
nmaenpaa Profile Picture

nmaenpaa 101,156

Leaderboard

Featured topics

Product updates

Dynamics 365 release plans